How to return the response from an asynchronous call How to return the response from an asynchronous call ajax ajax