Use Browserify for building the browser script