diff --git a/core/misc/ajax.js b/core/misc/ajax.js
index 09621b2..c53131e 100644
--- a/core/misc/ajax.js
+++ b/core/misc/ajax.js
@@ -22,7 +22,7 @@
   Drupal.behaviors.AJAX = {
     attach: function (context, settings) {
 
-      function loadAjaxBehavior(base) {
+      function loadAjaxBehavior (base) {
         var element_settings = settings.ajax[base];
         if (typeof element_settings.selector === 'undefined') {
           element_settings.selector = '#' + base;
@@ -107,7 +107,8 @@
     // xmlhttp.responseText is going to throw an exception. So we'll catch it.
     try {
       responseText = "\n" + Drupal.t("ResponseText: !responseText", {'!responseText': $.trim(xmlhttp.responseText) });
-    } catch (e) {}
+    }
+    catch (e) {}
 
     // Make the responseText more readable by stripping HTML tags and newlines.
     responseText = responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi, "");
@@ -707,7 +708,7 @@
       // :even and :odd are reversed because jQuery counts from 0 and
       // we count from 1, so we're out of sync.
       // Match immediate children of the parent element to allow nesting.
-      $(response.selector).find('> tbody > tr:visible, > tr:visible')
+      $(response.selector).find('> tbody > tr, > tr').filter(':visible')
         .removeClass('odd even')
         .filter(':even').addClass('odd').end()
         .filter(':odd').addClass('even');
diff --git a/core/misc/tabledrag.js b/core/misc/tabledrag.js
index f3c6c9e..0e7f73a 100644
--- a/core/misc/tabledrag.js
+++ b/core/misc/tabledrag.js
@@ -21,7 +21,7 @@
    */
   Drupal.behaviors.tableDrag = {
     attach: function (context, settings) {
-      function initTableDrag(table, base) {
+      function initTableDrag (table, base) {
         if (table.length) {
           // Create the new tableDrag instance. Save in the Drupal variable
           // to allow other scripts access to the object.
@@ -925,7 +925,7 @@
     // :even and :odd are reversed because jQuery counts from 0 and
     // we count from 1, so we're out of sync.
     // Match immediate children of the parent element to allow nesting.
-    $(this.table).find('> tbody > tr.draggable:visible, > tr.draggable:visible')
+    $(this.table).find('> tbody > tr.draggable, > tr.draggable').filter(':visible')
       .removeClass('odd even')
       .filter(':odd').addClass('even').end()
       .filter(':even').addClass('odd');
@@ -994,7 +994,8 @@
     var currentRow = $(this.element, this.table).next('tr.draggable');
     var rows = [];
     var child = 0;
-    function rowIndentation(el, indentNum) {
+
+    function rowIndentation (el, indentNum) {
       var self = $(el);
       if (child === 1 && (indentNum === parentIndentation)) {
         self.addClass('tree-child-first');
@@ -1006,6 +1007,7 @@
         self.addClass('tree-child-horizontal');
       }
     }
+
     while (currentRow.length) {
       // A greater indentation indicates this is a child.
       if (currentRow.find('.indentation').length > parentIndentation) {
diff --git a/core/misc/tableresponsive.js b/core/misc/tableresponsive.js
index 33e7b8e..2ab7df1 100644
--- a/core/misc/tableresponsive.js
+++ b/core/misc/tableresponsive.js
@@ -26,7 +26,7 @@
    * break layouts, but it provides the user with a means to access data, which
    * is a guiding principle of responsive design.
    */
-  function TableResponsive(table) {
+  function TableResponsive (table) {
     this.table = table;
     this.$table = $(table);
     this.showText = Drupal.t('Show all columns');
@@ -63,7 +63,7 @@
   $.extend(TableResponsive.prototype, {
     eventhandlerEvaluateColumnVisibility: function (e) {
       var pegged = parseInt(this.$link.data('pegged'), 10);
-      var hiddenLength = this.$headers.filter('.priority-medium:hidden, .priority-low:hidden').length;
+      var hiddenLength = this.$headers.filter('.priority-medium, .priority-low').filter(':hidden').length;
       // If the table has hidden columns, associate an action link with the table
       // to show the columns.
       if (hiddenLength > 0) {
@@ -81,7 +81,7 @@
     eventhandlerToggleColumns: function (e) {
       e.preventDefault();
       var self = this;
-      var $hiddenHeaders = this.$headers.filter('.priority-medium:hidden, .priority-low:hidden');
+      var $hiddenHeaders = this.$headers.filter('.priority-medium, .priority-low').filter(':hidden');
       this.$revealedCells = this.$revealedCells || $();
       // Reveal hidden columns.
       if ($hiddenHeaders.length > 0) {
diff --git a/core/misc/tableselect.js b/core/misc/tableselect.js
index a55b97c..4646949 100644
--- a/core/misc/tableselect.js
+++ b/core/misc/tableselect.js
@@ -42,7 +42,7 @@
     });
 
     // For each of the checkboxes within the table that are not disabled.
-    checkboxes = $table.find('td input[type="checkbox"]:enabled').on('click', function (e) {
+    checkboxes = $table.find('td input[type="checkbox"]').filter(':enabled').on('click', function (e) {
       // Either add or remove the selected class based on the state of the check all checkbox.
       $(this).closest('tr').toggleClass('selected', this.checked);
 
diff --git a/core/misc/vertical-tabs.js b/core/misc/vertical-tabs.js
index 6efa4c3..1ee3410 100644
--- a/core/misc/vertical-tabs.js
+++ b/core/misc/vertical-tabs.js
@@ -22,7 +22,7 @@
 
       $(context).find('[data-vertical-tabs-panes]').once('vertical-tabs', function () {
         var $this = $(this).addClass('vertical-tabs-panes');
-        var focusID = $this.find(':hidden.vertical-tabs-active-tab').val();
+        var focusID = $this.find('.vertical-tabs-active-tab').filter(':hidden').val();
         var tab_focus;
 
         // Check if there are some details that can be converted to vertical-tabs
@@ -127,7 +127,7 @@
         })
         .end()
         .show()
-        .siblings(':hidden.vertical-tabs-active-tab')
+        .siblings('.vertical-tabs-active-tab').filter(':hidden')
         .val(this.details.attr('id'));
       this.item.addClass('selected');
       // Mark the active tab for screen readers.
diff --git a/core/modules/block/js/block.admin.js b/core/modules/block/js/block.admin.js
index 44a4a74..074c122 100644
--- a/core/modules/block/js/block.admin.js
+++ b/core/modules/block/js/block.admin.js
@@ -18,21 +18,21 @@
       /**
        * Hides the <details> element for a category if it has no visible blocks.
        */
-      function hideCategoryDetails(index, element) {
+      function hideCategoryDetails (index, element) {
         var $details = $(element);
-        $details.toggle($details.find('li:visible').length > 0);
+        $details.toggle($details.find('li').filter(':visible').length > 0);
       }
 
       /**
        * Filters the block list.
        */
-      function filterBlockList(e) {
+      function filterBlockList (e) {
         var query = $(e.target).val().toLowerCase();
 
         /**
          * Shows or hides the block entry based on the query.
          */
-        function showBlockEntry(index, block) {
+        function showBlockEntry (index, block) {
           var $block = $(block);
           var $sources = $block.find('.block-filter-text-source');
           var textMatch = $sources.text().toLowerCase().indexOf(query) !== -1;
diff --git a/core/modules/ckeditor/js/ckeditor.drupalimage.admin.js b/core/modules/ckeditor/js/ckeditor.drupalimage.admin.js
index 1315b24..ed77a30 100644
--- a/core/modules/ckeditor/js/ckeditor.drupalimage.admin.js
+++ b/core/modules/ckeditor/js/ckeditor.drupalimage.admin.js
@@ -13,7 +13,7 @@
         var $maxFileSize = $(root + '[max_size]"]');
         var $maxWidth = $(root + '[max_dimensions][width]"]');
         var $maxHeight = $(root + '[max_dimensions][height]"]');
-        var $scheme = $(root + '[scheme]"]:checked');
+        var $scheme = $(root + '[scheme]"]').filter(':checked');
 
         var maxFileSize = $maxFileSize.val() ? $maxFileSize.val() : $maxFileSize.attr('placeholder');
         var maxDimensions = ($maxWidth.val() && $maxHeight.val()) ? '(' + $maxWidth.val() + 'x' + $maxHeight.val() + ')' : '';
diff --git a/core/modules/comment/comment-entity-form.js b/core/modules/comment/comment-entity-form.js
index b41ab84..f6733d0 100644
--- a/core/modules/comment/comment-entity-form.js
+++ b/core/modules/comment/comment-entity-form.js
@@ -11,7 +11,7 @@
     attach: function (context) {
       var $context = $(context);
       $context.find('fieldset.comment-entity-settings-form').drupalSetSummary(function (context) {
-        return Drupal.checkPlain($(context).find('.form-item-comment input:checked').next('label').text());
+        return Drupal.checkPlain($(context).find('.form-item-comment input').filter(':checked').next('label').text());
       });
     }
   };
diff --git a/core/modules/menu/menu.admin.js b/core/modules/menu/menu.admin.js
index 50b3999..c59f8f5 100644
--- a/core/modules/menu/menu.admin.js
+++ b/core/modules/menu/menu.admin.js
@@ -23,7 +23,7 @@
     var $menu = $('#edit-menu');
     var values = [];
 
-    $menu.find('input:checked').each(function () {
+    $menu.find('input').filter(':checked').each(function () {
       // Get the names of all checked menus.
       values.push(Drupal.checkPlain($.trim($(this).val())));
     });
diff --git a/core/modules/node/content_types.js b/core/modules/node/content_types.js
index cf0df4b..ec3456d 100644
--- a/core/modules/node/content_types.js
+++ b/core/modules/node/content_types.js
@@ -18,7 +18,7 @@
       });
       $context.find('#edit-workflow').drupalSetSummary(function (context) {
         var vals = [];
-        $(context).find("input[name^='settings[node][options']:checked").parent().each(function () {
+        $(context).find("input[name^='settings[node][options']").filter(':checked').parent().each(function () {
           vals.push(Drupal.checkPlain($(this).text()));
         });
         if (!$(context).find('#edit-settings-node-options-status').is(':checked')) {
@@ -29,9 +29,9 @@
       $('#edit-language', context).drupalSetSummary(function (context) {
         var vals = [];
 
-        vals.push($(".form-item-language-configuration-langcode select option:selected", context).text());
+        vals.push($(".form-item-language-configuration-langcode select option", context).filter(':selected').text());
 
-        $('input:checked', context).next('label').each(function () {
+        $('input', context).filter(':checked').next('label').each(function () {
           vals.push(Drupal.checkPlain($(this).text()));
         });
 
@@ -40,7 +40,7 @@
       $context.find('#edit-display').drupalSetSummary(function (context) {
         var vals = [];
         var $context = $(context);
-        $context.find('input:checked').next('label').each(function () {
+        $context.find('input').filter(':checked').next('label').each(function () {
           vals.push(Drupal.checkPlain($(this).text()));
         });
         if (!$context.find('#edit-settings-node-submitted').is(':checked')) {
diff --git a/core/modules/node/node.js b/core/modules/node/node.js
index 2ae5d5a..e4797dc 100644
--- a/core/modules/node/node.js
+++ b/core/modules/node/node.js
@@ -39,7 +39,7 @@
         var vals = [];
 
         if ($context.find('input').is(':checked')) {
-          $context.find('input:checked').parent().each(function () {
+          $context.find('input').filter(':checked').parent().each(function () {
             vals.push(Drupal.checkPlain($.trim($(this).text())));
           });
           return vals.join(', ');
diff --git a/core/modules/system/system.modules.js b/core/modules/system/system.modules.js
index 5ccad36..4b113cb 100644
--- a/core/modules/system/system.modules.js
+++ b/core/modules/system/system.modules.js
@@ -18,16 +18,16 @@
       var $table = $($input.attr('data-table'));
       var $rowsAndDetails, $rows, $details;
 
-      function hidePackageDetails(index, element) {
+      function hidePackageDetails (index, element) {
         var $details = $(element);
-        var $visibleRows = $details.find('table:not(.sticky-header)').find('tbody tr:visible');
+        var $visibleRows = $details.find('table:not(.sticky-header)').find('tbody tr').filter(':visible');
         $details.toggle($visibleRows.length > 0);
       }
 
-      function filterModuleList(e) {
+      function filterModuleList (e) {
         var query = $(e.target).val().toLowerCase();
 
-        function showModuleRow(index, row) {
+        function showModuleRow (index, row) {
           var $row = $(row);
           var $sources = $row.find('.table-filter-text-source');
           var textMatch = $sources.text().toLowerCase().indexOf(query) !== -1;
diff --git a/core/modules/views_ui/js/views-admin.js b/core/modules/views_ui/js/views-admin.js
index d0204e6..fade51f 100644
--- a/core/modules/views_ui/js/views-admin.js
+++ b/core/modules/views_ui/js/views-admin.js
@@ -160,7 +160,6 @@
     }
   });
 
-
   Drupal.behaviors.addItemForm = {
     attach: function (context) {
       var $context = $(context);
@@ -691,13 +690,13 @@
         // Within the row, the operator labels are displayed inside the first table
         // cell (next to the filter name).
         var $draggableRow = $(this.draggableRows[i]);
-        var $firstCell = $draggableRow.find('td:first');
+        var $firstCell = $draggableRow.find('td').eq(0);
         if ($firstCell.length) {
           // The value of the operator label ("And" or "Or") is taken from the
           // first operator dropdown we encounter, going backwards from the current
           // row. This dropdown is the one associated with the current row's filter
           // group.
-          var operatorValue = $draggableRow.prevAll('.views-group-title').find('option:selected').html();
+          var operatorValue = $draggableRow.prevAll('.views-group-title').find('option').filter(':selected').html();
           var operatorLabel = '<span class="views-operator-label">' + operatorValue + '</span>';
           // If the next visible row after this one is a draggable filter row,
           // display the operator label next to the current row. (Checking for
@@ -759,7 +758,6 @@
     }
   });
 
-
   /**
    * Add a select all checkbox, which checks each checkbox at once.
    */
@@ -818,7 +816,7 @@
    */
   Drupal.behaviors.viewsUiChangeDefaultWidget = {
     attach: function () {
-      function changeDefaultWidget(event) {
+      function changeDefaultWidget (event) {
         if ($(event.target).prop('checked')) {
           $('input.default-radios').hide();
           $('td.any-default-radios-row').parent().hide();
@@ -830,6 +828,7 @@
           $('input.default-radios').show();
         }
       }
+
       // Update on widget change.
       $('input[name="options[group_info][multiple]"]')
         .on('change', changeDefaultWidget)
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
old mode 100644
new mode 100755
