Nodejs dependency injection