disabled XDomainRequest as default and added enablesXDR option to enable it