Javascript Dependency Injection Manager