diff --git a/theme/module_builder.js b/theme/module_builder.js
index 158d44f..7f72a4a 100644
--- a/theme/module_builder.js
+++ b/theme/module_builder.js
@@ -1,41 +1,46 @@
-
-(function ($) {
-
 /**
- * Enable or disable hooks defined by presets.
+ * @file
+ * Attaches the behaviors for the module_builder module.
  */
-Drupal.behaviors.moduleBuilderHookPresets = {
-  attach: function (context, settings) {
+(function ($) {
+
+  'use strict';
 
-    // Attach a click handler to each preset checkbox.
-    $('#edit-module-hook-presets input').click(function () {
-      group_checkbox = this;
-      // Extract the group name from the id, and form the class that
-      // member hook checkboxes have.
-      group_name = group_checkbox.id.substr(25);
-      console.log(group_name);
-      $('.preset-' + group_name).each(function(index) {
-        this.checked = group_checkbox.checked;
+  /**
+   * Enable or disable hooks defined by presets.
+   */
+  Drupal.behaviors.moduleBuilderHookPresets = {
+    attach: function (context, settings) {
+
+      // Attach a click handler to each preset checkbox.
+      $('#edit-module-hook-presets input').click(function () {
+        var group_checkbox = this;
+        // Extract the group name from the id, and form the class that
+        // member hook checkboxes have.
+        var group_name = group_checkbox.id.substr(25);
+        console.log(group_name);
+        $('.preset-' + group_name).each(function (index) {
+          this.checked = group_checkbox.checked;
+        });
       });
-    });
-  }
-};
+    }
+  };
 
-/**
- * Clears the default texts on click.
- * Only happens on a fresh form (ie not when the user clicks our back button).
- */
-Drupal.behaviors.moduleBuilderClearDefaults = {
-  attach: function (context, settings) {
-    $('.fresh .form-text.required').click(function () {
-      $(this).attr('value', '');
-      $(this).unbind('click');
-    });
-    // If the user gets here with a tab and types, lose the click clearing.
-    $('.fresh .form-text.required').keypress(function () {
-      $(this).unbind('click');
-    });
-  }
-};
+  /**
+   * Clears the default texts on click.
+   * Only happens on a fresh form (ie not when the user clicks our back button).
+   */
+  Drupal.behaviors.moduleBuilderClearDefaults = {
+    attach: function (context, settings) {
+      $('.fresh .form-text.required').click(function () {
+        $(this).attr('value', '');
+        $(this).unbind('click');
+      });
+      // If the user gets here with a tab and types, lose the click clearing.
+      $('.fresh .form-text.required').keypress(function () {
+        $(this).unbind('click');
+      });
+    }
+  };
 
 })(jQuery);
