Simple 2D game written in HTML5 and JavaScript