browserify transform that exposes globals that were added via a script tag so they can be required.