Added CORS support on IE8.