Make Browserify compatible