A basic dependency injection system for javascript