Browserify friendly