Bicycle joyride game in javascript