Both goals came inside the final 15 minutes as the Tractor Boys moved above Millwall and to within two points of Middlesbrough with a game in hand.