Bugfix/1 phaser not compatible with browserify

Based on https://github.com/jroblak/sagdc2014