Adding application/javascript for gzipping

Some files weren't being gzipped. See #3025.