r9668: Cross-browser fix for IE, when adding scripts on the fly.