diff --git a/core/modules/menu/menu.admin.js b/core/modules/menu/menu.admin.js
index d9e591c..29452a1 100644
--- a/core/modules/menu/menu.admin.js
+++ b/core/modules/menu/menu.admin.js
@@ -5,18 +5,18 @@
 Drupal.behaviors.menuChangeParentItems = {
   attach: function (context, settings) {
     // Update list of available parent menu items.
-    $(context).find('#edit-menu input').on('change', Drupal.menu_update_parent_list);
+    $('#edit-menu').on('change', 'input', Drupal.menuUpdateParentList);
   }
 };
 
 /**
  * Function to set the options of the menu parent item dropdown.
  */
-Drupal.menu_update_parent_list = function () {
-  var $menu_fieldset = $('#edit-menu');
+Drupal.menuUpdateParentList = function () {
+  var $menuFieldset = $('#edit-menu');
   var values = [];
 
-  $menu_fieldset.find('input:checked').each(function () {
+  $menuFieldset.find('input:checked').each(function () {
     // Get the names of all checked menus.
     values.push(Drupal.checkPlain($.trim($(this).val())));
   });
@@ -27,15 +27,15 @@ Drupal.menu_update_parent_list = function () {
     data: {'menus[]' : values},
     dataType: 'json',
     success: function (options) {
-      var $select = $menu_fieldset.find('#edit-menu-parent');
+      var $select = $('#edit-menu-parent');
       // Save key of last selected element.
       var selected = $select.val();
       // Remove all exisiting options from dropdown.
       $select.children().remove();
       // Add new options to dropdown.
-      jQuery.each(options, function(index, value) {
+      jQuery.each(options, function(machineName, value) {
         $select.append(
-          $('<option ' + (index === selected ? ' selected="selected"' : '') + '></option>').val(index).text(value)
+          $('<option ' + (machineName === selected ? ' selected="selected"' : '') + '></option>').val(machineName).text(value)
         );
       });
     }
diff --git a/core/modules/menu/menu.js b/core/modules/menu/menu.js
index f3bfb1c..1990374 100644
--- a/core/modules/menu/menu.js
+++ b/core/modules/menu/menu.js
@@ -43,7 +43,7 @@ Drupal.behaviors.menuLinkAutomaticTitle = {
         $link_title.data('menuLinkAutomaticTitleOveridden', true);
       });
       // Global trigger on checkbox (do not fill-in a value when disabled).
-      $checkbox.change(function () {
+      $checkbox.on('change', function () {
         if ($checkbox.is(':checked')) {
           if (!$link_title.data('menuLinkAutomaticTitleOveridden')) {
             $link_title.val($title.val());
diff --git a/core/modules/menu/menu.module b/core/modules/menu/menu.module
index 653c17f..41cafc6 100644
--- a/core/modules/menu/menu.module
+++ b/core/modules/menu/menu.module
@@ -780,10 +780,10 @@ function menu_form_node_type_form_alter(&$form, $form_state) {
     '#attributes' => array('class' => array('menu-title-select')),
   );
 
-  // Call Drupal.menu_update_parent_list() to filter the list of
+  // Call Drupal.menuUpdateParentList() to filter the list of
   // available default parent menu items based on the selected menus.
   drupal_add_js(
-    '(function ($) { Drupal.menu_update_parent_list(); })(jQuery);',
+    '(function ($) { Drupal.menuUpdateParentList(); })(jQuery);',
     array('scope' => 'footer', 'type' => 'inline')
   );
 }
