Adding application/javascript as a valid MIME type for JS files

According to [RFC 4329](http://www.rfc-editor.org/rfc/rfc4329.txt) the MIME type for javascript files should be either application/javascript or application/ecmascript.

For history's sake I've also added text/ecmascript.