Internet Explorer Mobile and JavaScript Content Type

Internet Explorer Mobile (at least version 6.12) will only parse JavaScript files served with a content type of ‘text/javascript’. Use other content types (e.g. ‘application/javascript‘) and IEm may silently ignore the file, and not parse it. The whole area of the ‘proper’ content type for javascript files seems to be a bit of a quagmire.