"text/javascript" media type defined as obsolete in RFC 4329, but it is accepted in IE8 unlike "application/javascript". A whole set of javascript mediatypes should be acceptable, I think.