Fix javascript types so that they get compressed by nginx

MediaWiki uses text/javascript, static files probably
application/javascript and nothing application/x-javascript.

Change-Id: Ie06f0d65b6bed6dce7066490287505e014150df0
Merge "Fix javascript types so that they get compressed by nginx"