diff --git a/js/monitoring.sensor.overview.js b/js/monitoring.sensor.overview.js
index c7cecd6..fc6caca 100644
--- a/js/monitoring.sensor.overview.js
+++ b/js/monitoring.sensor.overview.js
@@ -5,7 +5,7 @@
 
 (function ($, Drupal) {
 
-  "use strict";
+  'use strict';
 
   /**
    * Filters the monitoring sensor overview table by input search filters.
@@ -46,7 +46,7 @@
             $row.hide();
             return;
           }
-          if (input_value && $input_value_sources.text().toLowerCase().indexOf(input_value) == -1) {
+          if (input_value && $input_value_sources.text().toLowerCase().indexOf(input_value) === -1) {
             $row.hide();
             return;
           }
diff --git a/monitoring.js b/monitoring.js
index 7f1fe3b..0157e54 100644
--- a/monitoring.js
+++ b/monitoring.js
@@ -3,13 +3,14 @@
  * Javascript behaviors for the monitoring module.
  */
 
-(function($) {
+(function ($) {
+  'use strict';
 
   /**
    * Behavior that adds and controls the toggle link on the overview page.
    */
   Drupal.behaviors.monitoringOverviewToggle = {
-    attach: function(context) {
+    attach: function (context) {
       // Check if there are any criticals, warnings or unknowns.
       if (drupalSettings.monitoring_escalated_sensors > 0) {
         // Inject toggle link into DOM.
@@ -17,7 +18,7 @@
             .appendTo('.monitoring-overview-summary', context)
             .click(
               function () {
-                if ($(this).text() == Drupal.t('Show OK sensors')) {
+                if ($(this).text() === Drupal.t('Show OK sensors')) {
                   $(this).text(Drupal.t('Hide OK sensors'));
                   $('#monitoring-sensors-overview tr.monitoring-ok, #monitoring-sensors-overview tr.sensor-category-ok', context).fadeIn();
                 }
@@ -31,7 +32,7 @@
         $('#monitoring-sensors-overview tr.monitoring-ok, #monitoring-sensors-overview tr.sensor-category-ok', context).hide();
       }
     }
-  }
+  };
 
 })(jQuery);
 
