Handle XHR on demand