updates for phaser 1.1.4. almost working