node.js-like require() for browsers