Adding XHR checking #4