Changed from using XHR to JSONP request to get cross-domain cookie