fix bug with browserify require