Life would be better if we could use gulp-browserify, but this will do for now