An IoC wrapper for javascript applications