Add "main" property to package.json

Allows use as a Browserify module.