create sequence of ajax calls instead of parallelization