Data Ajax: Added support for  CORS and a fallback when CORS isn't supported

Good point, settings could point to window[componentName]