Fixing package.json and index.js to help testing generate a browserling version of the code.