Fixes gzip compression for javascript

`text/javascript` Content-type isn’t currently  compressed, so `app.js` isn’t either.