common-js-ify!

Now works with browserify and the likes.

I tried to run the unit tests and it crashed phantomjs.  If I find time, I'll try to debug.