fixed package json overwrite as well as gitignore overwrite
moved browserify code to <head> section and added defer attribute