Exclude xhr request to save return_url

Ajax request should not be considered as return url.