A simple IoC container to achieve constructor injection in Javascript