Juventus prevailed after going a goal behind, moving up to second in the standings, two points behind Bournemouth.