make the XHR asynchronous.