According to RFC 4329, section 7.1, text/javascript has the ext .js

* http://tools.ietf.org/html/rfc4329#section-7.1
Merge pull request #34 from postmodern/add_js_extension_to_text_javascript

Add .js extension to text/javascript