update parkour game with javascript chapter2