Simple platformer game in HTML5