text/javascript, autocrlf

"text/javascript" is the only media type that is supported by all three browsers, but it is defined as obsolete in RFC 4329. A whole set of javascript mediatypes should be acceptable, I think.

In Windows Git automatically converts all endlines to CRLF, what brakes Content-Length checks. In .gitattributes file I've changed that behavior.