Utility functions that enable use of nodejs modules in the browser. Used in html-builder and bb-server