diff --git a/admin_menu.admin.js b/admin_menu.admin.js
index 9ee9f36..28d5fb6 100644
--- a/admin_menu.admin.js
+++ b/admin_menu.admin.js
@@ -1,5 +1,7 @@
 (function ($) {
 
+  "use strict";
+
   /**
    * Live preview of Administration menu components.
    */
@@ -44,10 +46,10 @@ Drupal.behaviors.adminMenuPermissionsSetupHelp = {
               if (this.checked) {
                 // Figure out which is the other, check whether it still disabled,
                 // and if so, ask whether to auto-enable it.
-              var other = (this == $admin[index] ? $menu[index] : $admin[index]);
+                var other = (this === $admin[index] ? $menu[index] : $admin[index]);
                 if (!other.checked && confirm(Drupal.t('Also allow !name role to !permission?', {
                   '!name': $roles[index].textContent,
-                '!permission': (this == $admin[index] ? menuPermission : adminPermission)
+                  '!permission': (this === $admin[index] ? menuPermission : adminPermission)
                 }))) {
                   other.checked = 'checked';
                 }
