Added support for CommonJS/browserify.

Per our conversation on IRC, a PR for CommonJS/browserify support. :beers: 

#259
#253
#206
Yeah :neutral_face:

I noticed it and since it was from something I suggested, I figured I'd clob it in here.