Add code to fire an event if a script load fails
Do not include the config object when creating config string for url usage