NodeJS dependency injection