Works around IE9 XDomainRequest bug.