browserify shim so levelup can run in the browser