Makes all ajax calls async.