adding browserify to package.json
removing inline script and replacing with browserify modules