Make Browserify compatible
Merge pull request #125 from megawac/patch-2

Make Browserify compatible