Loader.script now has callback (and callbackContext) parameters, so you can specify a function to run once the JS has been injected into the body.