Updated for use with Browserify/NPM

added "main"