trying async on ajax call