Update main field in package.json

Makes it work with browserify.