Dependency injection for node.js applications