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