Boilerplate for a HTML5 Canvas 2D game