Cookie eating game exploring Javascript and Phaser