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

...ted