rigged for browserify