An alternative IOC mechanism for JS that doesn't rely on string matching. Tested with (and has examples for) Mootools and jQuery