Fixing main field so that browserify can work on package.
adding UMD support, re-minifying to fix failing test
Merge pull request #8 from toddself/master

Fixing main field so that browserify can work on package.