// Make sure that the execution of code works by injecting a script
// tag with appendChild/createTextNode
// (IE doesn't support this, fails, and uses .text instead)
if (window[id]) {
jQuery.support.scriptEval = true;
delete window[id];
}
Should be :
// Make sure that the execution of code works by injecting a script
// tag with appendChild/createTextNode
// (IE doesn't support this, fails, and uses .text instead)
if (window[id]) {
jQuery.support.scriptEval = true;
try { // DBJ fix for IE9
delete window[id];
} catch (x) { }
}
--DBJ