Add browserify fixes to CollectingHub

Fixes testling