It really depends on whether or not there are a large number of operations still to be performed after the ajax call returns and whether multiple operations can/should be performed in parallel. I'd take a look into deferred objects and how to deal with parallel network calls just for future reference, it's all pretty simple but useful to know a bit more detail.