add shim for browserify usage