A simple IoC framework for JavaScript