Add ajax loader gif and return the ajax calls to be asynchronous