Updated agentscript to fix some IE 9 issues

[#63829380]