A phaser.js boilerplate based on require.js to modularize states