Juventus positioned themselves as unlikely factors in the title race after late goals finally made their pressure pay.