Juventus survive San Paolo trip