Custom XHR for Perfect sites