Now using XDomainRequest to make the request