diff --git a/.htaccess b/.htaccess
index 440cabc..c06ff32 100644
--- a/.htaccess
+++ b/.htaccess
@@ -131,7 +131,7 @@ DirectoryIndex index.php index.html index.htm
 
     # Serve correct content types, and prevent mod_deflate double gzip.
     RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1]
-    RewriteRule \.js\.gz$ - [T=text/javascript,E=no-gzip:1]
+    RewriteRule \.js\.gz$ - [T=application/javascript,E=no-gzip:1]
 
     <FilesMatch "(\.js\.gz|\.css\.gz)$">
       # Serve correct encoding type.
@@ -147,3 +147,9 @@ DirectoryIndex index.php index.html index.htm
   # Disable content sniffing, since it's an attack vector.
   Header always set X-Content-Type-Options nosniff
 </IfModule>
+
+<IfModule mod_mime.c>
+  # Normalize to standard type.
+  # https://tools.ietf.org/html/rfc4329#section-7.2
+  AddType application/javascript .js
+</IfModule>
