Remove code preventing cross-domain requests, better handled outside Xhr