Dependency Injection for the Browser