add initial XDomainRequest support