Writes an index.js file, ideal for Browserify