Dependency injection for Node.js and the browser.