Simple xhr check to eliminate a thrown error.