[3.8] Fix #1590 IE popup Error message

IE popup Error message: "A script on this page is causing Internet Explorer to run slowly"