Browserify support

Fixes #268.

This breaks coverage reports - I'd suggest the usage of `istanbul` for future reports, as that one doesn't depend on a conditional `require`.