Index: django/middleware/gzip.py
===================================================================
--- django/middleware/gzip.py	(revision 6329)
+++ django/middleware/gzip.py	(working copy)
@@ -20,7 +20,8 @@
         
         # Avoid gzipping if we've already got a content-encoding or if the
         # content-type is Javascript (silly IE...)
-        is_js = "javascript" in response.get('Content-Type', '').lower()
+        is_js = ("javascript" in response.get('Content-Type', '').lower()
+                 and "msie" in request.META.get('HTTP_USER_AGENT', '').lower())
         if response.has_header('Content-Encoding') or is_js:
             return response
 
