removed alert on failed auth
added JSONP Support and CORS check so all cross domain calls on IE will no go via JSONP