Fix #1590 IE popup Error message: "A script on this page is causing Internet Explorer to run slowly"
Merge pull request #806 from nlegoff/fix1590

[3.8] Fix #1590 IE popup Error message