In my application I found some JavaScript code that is using setInterval with 0 milliseconds, like so:
self.setInterval(\"myFunction()\",0);
To have it executed only once with minor delay, use setTimeOut instead:
window.setTimeout(myFunction, 10);
As you're using AJAX, you don't have to use any timers at all - just call the next AJAX request in the Callback (complete/success event) of the current AJAX request.
Post your current code and we might be able to guide you further.