Support browserify
Merge pull request #1 from kimmobrunfeldt/browserify-fix

Support browserify