A simple DI container in JavaScript.