add $.ajaxSettings.xhrFields and $.ajaxSettings.crossDomain for jquery 1.7 1.8 ...

...1.9
Your jQuery 1.9 extern needs a line break at the end of the file.