Inversion Of Control container for JavaScript