Simple 2D Scrolling Game in JavaScript + HTML5