Support for XDomainRequest for CORS in IE8 and 9