Made the XHR async