Fix JavaScript not being gzipped on IIS

IIS requires the mime type of JavaScript set to text/javascript for gzip compression to kick in.

Discussion about the issue: http://bit.ly/stPqn1 (including comments from Jeff Atwood)

Fix discussed in further detail: http://bit.ly/d0rtWy