Quick and dirty conversion to browserify build process