Use the correct JavaScript MIME type

`application/javascript` is the correct MIME type for JavaScript (although [browsers don’t really care](http://mathiasbynens.be/demo/javascript-mime-type)).