fixing XDomainRequest check: making sure IE10 and other browsers user XMLHttpRequest2 when available