Support commonjs and browserify
Merge pull request #95 from Pencroff/master

Support commonjs and browserify