Avoid using the call of web service $.ajax inside a loop | CAST Appmarq