diff --git a/misc/ajax.js b/misc/ajax.js
index 953827f1d014b83144df76d57a70b6ca4cab20b1..378b1b8336f55186a67647663bc0f99d33b9b6b7 100644
--- a/misc/ajax.js
+++ b/misc/ajax.js
@@ -96,7 +96,7 @@ Drupal.ajax = function (base, element, element_settings) {
       type: 'bar',
       message: 'Please wait...'
     },
-    button: {},
+    button: {}
   };
 
   $.extend(this, defaults, element_settings);
diff --git a/modules/system/system.js b/modules/system/system.js
index 4da80811d9dfed31df0db1ca820842e03efff460..7df0372837355a34e4f947b18131d7610748f352 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -126,7 +126,7 @@ Drupal.behaviors.userTimeZones = {
     $('#edit-configurable-timezones', context).change(function () {
       $('#empty-timezone-message-wrapper').toggle();
     });
-  },
+  }
 };
 
 /**
@@ -160,7 +160,7 @@ Drupal.behaviors.pageCache = {
       $('#page-compression-wrapper').show();
       $('#cache-error').show();
     });
-  },
+  }
 };
 
 /**