Fix CSRF detection for ajax calls in IE8

https://github.com/ManageIQ/manageiq/issues/399