support for node.js-style require