diff --git a/core/modules/locale/locale.admin.js b/core/modules/locale/locale.admin.js
index fee09a3..f5d8cf2 100644
--- a/core/modules/locale/locale.admin.js
+++ b/core/modules/locale/locale.admin.js
@@ -1,4 +1,4 @@
-(function ($) {
+(function ($, Drupal) {
 
 "use strict";
 
@@ -16,7 +16,7 @@ Drupal.behaviors.localeTranslateDirty = {
         $marker.fadeIn('slow');
       });
       // Highlight changed row.
-      $form.on('change.localeTranslateDirty', 'tr', function (e) {
+      $form.on('change.localeTranslateDirty', 'tr', function () {
         var
           $row = $(this),
           $rowToMark = $row.once('localemark'),
@@ -83,4 +83,4 @@ $.extend(Drupal.theme, {
   }
 });
 
-})(jQuery);
+})(jQuery, Drupal);
diff --git a/core/modules/locale/locale.bulk.js b/core/modules/locale/locale.bulk.js
index 9d3e5a6..eec2837 100644
--- a/core/modules/locale/locale.bulk.js
+++ b/core/modules/locale/locale.bulk.js
@@ -1,4 +1,4 @@
-(function ($) {
+(function ($, Drupal) {
 
 "use strict";
 
@@ -23,4 +23,4 @@ Drupal.behaviors.importLanguageCodeSelector = {
   }
 };
 
-})(jQuery);
+})(jQuery, Drupal);
