Broswerify rejig

I did this as basic as I could for now. It addresses #26