diff --git a/core/modules/views/views_ui/js/views-admin.js b/core/modules/views/views_ui/js/views-admin.js
index a8fc481..9ef1230 100644
--- a/core/modules/views/views_ui/js/views-admin.js
+++ b/core/modules/views/views_ui/js/views-admin.js
@@ -9,7 +9,7 @@ Drupal.behaviors.viewsUiEditView = {};
 /**
  * Improve the user experience of the views edit interface.
  */
-Drupal.behaviors.viewsUiEditView.attach = function (context, settings) {
+Drupal.behaviors.viewsUiEditView.attach = function () {
 
   "use strict";
 
@@ -26,7 +26,7 @@ Drupal.behaviors.viewsUiAddView = {};
  * In the add view wizard, use the view name to prepopulate form fields such as
  * page title and menu link.
  */
-Drupal.behaviors.viewsUiAddView.attach = function (context, settings) {
+Drupal.behaviors.viewsUiAddView.attach = function (context) {
 
   "use strict";
 
@@ -111,8 +111,8 @@ Drupal.viewsUi.FormFieldFiller = function ($target, exclude, replace, suffix) {
   // one bound version of an object method, whereas we need one version per
   // object instance.
   var self = this;
-  this.populate = function () {return self._populate.call(self);};
-  this.unbind = function () {return self._unbind.call(self);};
+  this.populate = function() {return self._populate.call(self);};
+  this.unbind = function() {return self._unbind.call(self);};
 
   this.bind();
   // Object constructor; no return value.
@@ -194,7 +194,7 @@ Drupal.behaviors.addItemForm.attach = function (context) {
   }
 };
 
-Drupal.viewsUi.addItemForm = function($form) {
+Drupal.viewsUi.addItemForm = function ($form) {
 
   "use strict";
 
@@ -218,7 +218,6 @@ Drupal.viewsUi.addItemForm.prototype.handleCheck = function (event) {
     this.checkedItems.push(label);
   }
   else {
-    var length = this.checkedItems.length;
     var position = jQuery.inArray(label, this.checkedItems);
     // Delete the item from the list and take sure that the list doesn't have undefined items left.
     for (var i = 0; i < this.checkedItems.length; i++) {
@@ -239,7 +238,7 @@ Drupal.viewsUi.addItemForm.prototype.handleCheck = function (event) {
 /**
  * Refresh the display of the checked items.
  */
-Drupal.viewsUi.addItemForm.prototype.refreshCheckedItems = function() {
+Drupal.viewsUi.addItemForm.prototype.refreshCheckedItems = function () {
 
   "use strict";
 
@@ -255,7 +254,7 @@ Drupal.viewsUi.addItemForm.prototype.refreshCheckedItems = function() {
  */
 Drupal.behaviors.viewsUiRenderAddViewButton = {};
 
-Drupal.behaviors.viewsUiRenderAddViewButton.attach = function (context, settings) {
+Drupal.behaviors.viewsUiRenderAddViewButton.attach = function (context) {
 
   "use strict";
 
@@ -274,7 +273,7 @@ Drupal.behaviors.viewsUiRenderAddViewButton.attach = function (context, settings
   // in an 'Add' dropdown.
   // @todo This assumes English, but so does $addDisplayDropdown above. Add
   //   support for translation.
-  $displayButtons.each(function () {
+  $displayButtons.each(function() {
     var label = $(this).val();
     if (label.substr(0, 4) === 'Add ') {
       $(this).val(label.substr(4));
@@ -295,7 +294,7 @@ Drupal.behaviors.viewsUiRenderAddViewButton.attach = function (context, settings
   // We use the live binder because the open class on this item will be
   // toggled on and off and we want the handler to take effect in the cases
   // that the class is present, but not when it isn't.
-  $('li.add', $menu).on('mouseleave', function (event) {
+  $('li.add', $menu).on('mouseleave', function () {
     var $this = $(this);
     var $trigger = $this.children('a[href="#"]');
     if ($this.children('.action-list').is(':visible')) {
@@ -353,7 +352,7 @@ Drupal.viewsUi.OptionsSearch = function ($form) {
   // Restripe on initial loading.
   this.handleKeyup();
   // Trap the ENTER key in the search box so that it doesn't submit the form.
-  this.$searchBox.keypress(function(event) {
+  this.$searchBox.keypress(function (event) {
     if (event.which === 13) {
       event.preventDefault();
     }
@@ -394,7 +393,7 @@ Drupal.viewsUi.OptionsSearch.prototype.getOptions = function ($allOptions) {
 /**
  * Keyup handler for the search box that hides or shows the relevant options.
  */
-Drupal.viewsUi.OptionsSearch.prototype.handleKeyup = function (event) {
+Drupal.viewsUi.OptionsSearch.prototype.handleKeyup = function () {
 
   "use strict";
 
@@ -438,7 +437,7 @@ Drupal.viewsUi.OptionsSearch.prototype.handleKeyup = function (event) {
 };
 
 Drupal.behaviors.viewsUiPreview = {};
-Drupal.behaviors.viewsUiPreview.attach = function (context, settings) {
+Drupal.behaviors.viewsUiPreview.attach = function (context) {
 
   "use strict";
 
@@ -468,7 +467,7 @@ Drupal.behaviors.viewsUiPreview.attach = function (context, settings) {
 };
 
 Drupal.behaviors.viewsUiRearrangeFilter = {};
-Drupal.behaviors.viewsUiRearrangeFilter.attach = function (context, settings) {
+Drupal.behaviors.viewsUiRearrangeFilter.attach = function (context) {
 
   "use strict";
 
@@ -566,8 +565,8 @@ Drupal.viewsUi.rearrangeFilterHandler.prototype.insertAddRemoveFilterGroupLinks
   // Find each (visually hidden) button for removing a filter group and insert
   // a link next to it.
   var length = this.removeGroupButtons.length;
-  var i;
-  for (i = 0; i < length; i++) {
+
+  for (var i = 0; i < length; i++) {
     var $removeGroupButton = $(this.removeGroupButtons[i]);
     var buttonId = $removeGroupButton.attr('id');
     $('<a href="#" class="views-remove-group-link">' + Drupal.t('Remove group') + '</a>')
@@ -767,8 +766,8 @@ Drupal.viewsUi.rearrangeFilterHandler.prototype.redrawOperatorLabels = function
   "use strict";
 
   var $ = jQuery;
-  var i;
-  for (i = 0; i < this.draggableRows.length; i++) {
+
+  for (var i = 0; i < this.draggableRows.length; i++) {
     // Within the row, the operator labels are displayed inside the first table
     // cell (next to the filter name).
     var $draggableRow = $(this.draggableRows[i]);
@@ -848,26 +847,26 @@ Drupal.behaviors.viewsFilterConfigSelectAll = {};
 /**
  * Add a select all checkbox, which checks each checkbox at once.
  */
-Drupal.behaviors.viewsFilterConfigSelectAll.attach = function(context) {
+Drupal.behaviors.viewsFilterConfigSelectAll.attach = function (context) {
 
   "use strict";
 
   var $ = jQuery;
   // Show the select all checkbox.
-  $('#views-ui-config-item-form div.form-item-options-value-all', context).once(function() {
+  $('#views-ui-config-item-form div.form-item-options-value-all', context).once(function () {
     $(this).show();
   })
   .find('input[type=checkbox]')
-  .click(function() {
+  .click(function () {
     var checked = $(this).is(':checked');
     // Update all checkbox beside the select all checkbox.
-    $(this).parents('.form-checkboxes').find('input[type=checkbox]').each(function() {
+    $(this).parents('.form-checkboxes').find('input[type=checkbox]').each(function () {
       $(this).attr('checked', checked);
     });
   });
   // Uncheck the select all checkbox if any of the others are unchecked.
-  $('#views-ui-config-item-form div.form-type-checkbox').not($('.form-item-options-value-all')).find('input[type=checkbox]').each(function() {
-    $(this).click(function() {
+  $('#views-ui-config-item-form div.form-type-checkbox').not($('.form-item-options-value-all')).find('input[type=checkbox]').each(function () {
+    $(this).click(function () {
       if ($(this).is('checked') === false) {
         $('#edit-options-value-all').removeAttr('checked');
       }
@@ -879,7 +878,7 @@ Drupal.behaviors.viewsFilterConfigSelectAll.attach = function(context) {
  * Remove icon class from elements that are themed as buttons or dropbuttons.
  */
 Drupal.behaviors.viewsRemoveIconClass = {};
-Drupal.behaviors.viewsRemoveIconClass.attach = function (context, settings) {
+Drupal.behaviors.viewsRemoveIconClass.attach = function (context) {
 
   "use strict";
 
@@ -892,7 +891,7 @@ Drupal.behaviors.viewsRemoveIconClass.attach = function (context, settings) {
  * Change "Expose filter" buttons into checkboxes.
  */
 Drupal.behaviors.viewsUiCheckboxify = {};
-Drupal.behaviors.viewsUiCheckboxify.attach = function (context, settings) {
+Drupal.behaviors.viewsUiCheckboxify.attach = function () {
 
   "use strict";
 
@@ -910,7 +909,7 @@ Drupal.behaviors.viewsUiCheckboxify.attach = function (context, settings) {
  * selected widget for the exposed group.
  */
 Drupal.behaviors.viewsUiChangeDefaultWidget = {};
-Drupal.behaviors.viewsUiChangeDefaultWidget.attach = function (context, settings) {
+Drupal.behaviors.viewsUiChangeDefaultWidget.attach = function () {
 
   "use strict";
 
@@ -928,7 +927,7 @@ Drupal.behaviors.viewsUiChangeDefaultWidget.attach = function (context, settings
     }
   }
   // Update on widget change.
-  $('input[name="options[group_info][multiple]"]').change(function() {
+  $('input[name="options[group_info][multiple]"]').change(function () {
     change_default_widget($(this).attr("checked"));
   });
   // Update the first time the form is rendered.
@@ -960,7 +959,7 @@ Drupal.viewsUi.Checkboxifier = function (button) {
 /**
  * When the checkbox is checked or unchecked, simulate a button press.
  */
-Drupal.viewsUi.Checkboxifier.prototype.clickHandler = function (e) {
+Drupal.viewsUi.Checkboxifier.prototype.clickHandler = function () {
 
   "use strict";
 
@@ -972,23 +971,23 @@ Drupal.viewsUi.Checkboxifier.prototype.clickHandler = function (e) {
  * Change the Apply button text based upon the override select state.
  */
 Drupal.behaviors.viewsUiOverrideSelect = {};
-Drupal.behaviors.viewsUiOverrideSelect.attach = function (context, settings) {
+Drupal.behaviors.viewsUiOverrideSelect.attach = function (context) {
 
   "use strict";
 
   var $ = jQuery;
-  $('#edit-override-dropdown', context).once('views-ui-override-button-text', function() {
+  $('#edit-override-dropdown', context).once('views-ui-override-button-text', function () {
     // Closures! :(
     var $submit = $('#edit-submit', context);
     var old_value = $submit.val();
 
     $submit.once('views-ui-override-button-text')
-      .bind('mouseup', function() {
+      .bind('mouseup', function () {
         $(this).val(old_value);
         return true;
       });
 
-    $(this).bind('change', function() {
+    $(this).bind('change', function () {
       if ($(this).val() === 'default') {
         $submit.val(Drupal.t('Apply (all displays)'));
       }
@@ -1015,8 +1014,8 @@ Drupal.viewsUi.resizeModal = function (e, no_shrink) {
     return;
   }
 
-  var maxWidth = parseInt($(window).width() * .85); // 70% of window
-  var minWidth = parseInt($(window).width() * .6); // 70% of window
+  var maxWidth = parseInt($(window).width() * 0.85, 10); // 70% of window
+  var minWidth = parseInt($(window).width() * 0.6, 10); // 70% of window
 
   // Set the modal to the minwidth so that our width calculation of
   // children works.
@@ -1024,7 +1023,7 @@ Drupal.viewsUi.resizeModal = function (e, no_shrink) {
   var width = minWidth;
 
   // Don't let the window get more than 80% of the display high.
-  var maxHeight = parseInt($(window).height() * .8);
+  var maxHeight = parseInt($(window).height() * 0.8, 10);
   var minHeight = 200;
   if (no_shrink) {
     minHeight = $modal.height();
@@ -1034,15 +1033,13 @@ Drupal.viewsUi.resizeModal = function (e, no_shrink) {
     minHeight = maxHeight;
   }
 
-  var height = 0;
-
   // Calculate the height of the 'scroll' region.
   var scrollHeight = 0;
 
-  scrollHeight += parseInt($scroll.css('padding-top'));
-  scrollHeight += parseInt($scroll.css('padding-bottom'));
+  scrollHeight += parseInt($scroll.css('padding-top'), 10);
+  scrollHeight += parseInt($scroll.css('padding-bottom'), 10);
 
-  $scroll.children().each(function() {
+  $scroll.children().each(function () {
     var w = $(this).innerWidth();
     if (w > width) {
       width = w;
@@ -1054,8 +1051,8 @@ Drupal.viewsUi.resizeModal = function (e, no_shrink) {
   // will be.
 
   var difference = 0;
-  difference += parseInt($scroll.css('padding-top'));
-  difference += parseInt($scroll.css('padding-bottom'));
+  difference += parseInt($scroll.css('padding-top'), 10);
+  difference += parseInt($scroll.css('padding-bottom'), 10);
   difference += $('.views-override').outerHeight(true);
   difference += $('.views-messages').outerHeight(true);
   difference += $('#views-ajax-title').outerHeight(true);
@@ -1098,9 +1095,9 @@ Drupal.viewsUi.resizeModal = function (e, no_shrink) {
 
 };
 
-jQuery(function() {
+jQuery(function () {
 
-  "use strict"
+  "use strict";
 
   jQuery(window).bind('resize', Drupal.viewsUi.resizeModal);
   jQuery(window).bind('scroll', Drupal.viewsUi.resizeModal);
