HTML5 and JavaScript Frogger game