boilerplate code for your html5 game