upgrade of main.js (Flappy Bird) from Phaser 1.1.3 to Phaser 2.0.2