Use CORS instead of jsonp to send data