working through browserify-shim