Minimal node.js compatible require() for the browser.