Added Framework::addGlobalScript to register scripts for things like components which should continue to exist past a theme change, such as with the controlpanel