Added CORS support for IE 8/9.