China ‘survives’ to win with late goals