:nut_and_bolt: Modularize

I tried commonjs-everywhere and powerbuild before settling on
browserify. It doesn't work in node yet.