Removed CocoonJS hack - woohoo!
Phaser TypeScript defs fixes.