You can try to shorten the code.
$(xmlDoc).find("Object").each(function(arg1) { (function(arg1_received) { setTimeout(function(arg1_received_reached) {
or for for loops try
for (var i = 0 ; i < 10000 ; i = i + 1) { (function(arg1_received) { setTimeout(function(arg1_received_reached) {
I had the same problem and my clients reported it as a "Kill Page" error. But now I got the best solution for this. :)
LINTUism Jun 13 '14 at 7:24 2014-06-13 07:24
source share