implementation ripped out of browserify
implementation ripped out of browserify

maxogden/insert-module-globals,maxogden/insert-module-globals,ElNounch/insert-module-globals,substack/insert-module-globals,apihlaja/insert-module-globals,apihlaja/insert-module-globals,ElNounch/insert-module-globals,substack/insert-module-globals