Small HTML5/Javascript Platformer game concept