Only use XDomainRequest in IE, if a crossorigin request is needed
Merge pull request #790 from iLaurens/ie-non-crossorigin-fix

Only use XDomainRequest in IE, if a crossorigin request is needed