Fix to ScriptInjector 

+ Ensure Collapse loads JS during dom load not before