Browserify and fixes