Support global shim

Add support for [browserify-global-shim](https://github.com/rluba/browserify-global-shim) as a polyfill for the lack of `global:...` in browserify-shim 2.x.