Update main in package.json

Minor change to make the `main` field in the `package.json` point to the right file, `index.js`.

I ran into an issue when using a new version of `browserify` where it couldn't find this because the file didn't exist.

I think `browserify` should probably handle this like `node` does and just default to `index.js` but that's one for them I guess.