Boilerplate and scaffolding for html5 games