Update to work with Browserify
Merge pull request #4 from connor4312/patch-2

Update to work with Browserify