But we found that IE and Safari sends headers like:
HTTP_ACCEPT=>“text/html, /, text/javascript”, with the
javascript header last so this mucks up the respond_to block as it will
always enter the first block (usually format.html) and
never reach your format.js block.

We have a before filter called on required actions that forces the request
format to be
javascript if it is an xml_http_request?