Fixes so that the new jive.js utils works in both node and in browser