Javascript dependency injection  library