Added support for CommonJS/browserify.

Per our conversation on IRC, a PR for CommonJS/browserify support. :beers: 

#259
#253
#206
wtf is that garbage