In a few places in the code, assert is require'd and used to throw a simple error. You should remove this and simply 'throw new Error(...)'. The benefit of doing so is that it shrinks the browserify'd library considerably.