CORS cross-browser fix.
Added CORS support with jQuery helper.