Create ajax reference - CORS