Simple CORS (XHR) example. Note IE8< uses XDomainRequest