Clone of the Helicopter game with javascript