check for XDomainRequest obj