make index.js browserify-capable