init the main html file and set up phaser env