update for browserify oddness