diff --git a/js_example/js/black.js b/js_example/js/black.js
index d2fc09f..f891733 100755
--- a/js_example/js/black.js
+++ b/js_example/js/black.js
@@ -1,13 +1,18 @@
+/**
+ * @file
+ * Contains the definition of the behaviour jsTestBlackWeight.
+ */
+
 (function ($, Drupal, drupalSettings) {
-    "use strict";
-    /**
-     * Attaches the JS test behavior to to weight div.
-     */
-    Drupal.behaviors.jsTestBlackWeight = {
-        attach: function(context, settings) {
-            var weight = drupalSettings.js_example.js_weights.black;
-            var newDiv = $('<div></div>').css('color', 'black').html('I have a weight of ' + weight);
-            $('#js-weights').append(newDiv);
-        }
-    };
+  "use strict";
+  /**
+   * Attaches the JS test behavior to to weight div.
+   */
+  Drupal.behaviors.jsTestBlackWeight = {
+    attach: function (context, settings) {
+      var weight = drupalSettings.js_example.js_weights.black;
+      var newDiv = $('<div></div>').css('color', 'black').html('I have a weight of ' + weight);
+      $('#js-weights').append(newDiv);
+    }
+  };
 })(jQuery, Drupal, drupalSettings);
diff --git a/js_example/js/blue.js b/js_example/js/blue.js
index 2ce1fa0..f5bdabd 100755
--- a/js_example/js/blue.js
+++ b/js_example/js/blue.js
@@ -1,13 +1,18 @@
+/**
+ * @file
+ * Contains the definition of the behaviour jsTestBlueWeight.
+ */
+
 (function ($, Drupal, drupalSettings) {
-    "use strict";
-    /**
-     * Attaches the JS test behavior to weight div.
-     */
-    Drupal.behaviors.jsTestBlueWeight = {
-        attach: function(context, settings) {
-            var weight = drupalSettings.js_example.js_weights.blue;
-            var newDiv = $('<div></div>').css('color', 'blue').html('I have a weight of ' + weight);
-            $('#js-weights').append(newDiv);
-        }
-    };
+  "use strict";
+  /**
+   * Attaches the JS test behavior to weight div.
+   */
+  Drupal.behaviors.jsTestBlueWeight = {
+    attach: function (context, settings) {
+      var weight = drupalSettings.js_example.js_weights.blue;
+      var newDiv = $('<div></div>').css('color', 'blue').html('I have a weight of ' + weight);
+      $('#js-weights').append(newDiv);
+    }
+  };
 })(jQuery, Drupal, drupalSettings);
diff --git a/js_example/js/brown.js b/js_example/js/brown.js
index a14bd7f..38d9d97 100755
--- a/js_example/js/brown.js
+++ b/js_example/js/brown.js
@@ -1,13 +1,18 @@
+/**
+ * @file
+ * Contains the definition of the behaviour jsTestBrownWeight.
+ */
+
 (function ($, Drupal, drupalSettings) {
-    "use strict";
-    /**
-     * Attaches the JS test behavior to weight div.
-     */
-    Drupal.behaviors.jsTestBrownWeight = {
-        attach: function(context, settings) {
-            var weight = drupalSettings.js_example.js_weights.brown;
-            var newDiv = $('<div></div>').css('color', 'brown').html('I have a weight of ' + weight);
-            $('#js-weights').append(newDiv);
-        }
-    };
+  "use strict";
+  /**
+   * Attaches the JS test behavior to weight div.
+   */
+  Drupal.behaviors.jsTestBrownWeight = {
+    attach: function (context, settings) {
+      var weight = drupalSettings.js_example.js_weights.brown;
+      var newDiv = $('<div></div>').css('color', 'brown').html('I have a weight of ' + weight);
+      $('#js-weights').append(newDiv);
+    }
+  };
 })(jQuery, Drupal, drupalSettings);
diff --git a/js_example/js/green.js b/js_example/js/green.js
index 51ba38f..7a8e469 100755
--- a/js_example/js/green.js
+++ b/js_example/js/green.js
@@ -1,13 +1,18 @@
+/**
+ * @file
+ * Contains the definition of the behaviour jsTestGreenWeight.
+ */
+
 (function ($, Drupal, drupalSettings) {
-    "use strict";
-    /**
-     * Attaches the JS test behavior to weight div.
-     */
-    Drupal.behaviors.jsTestGreenWeight = {
-        attach: function(context, settings) {
-            var weight = drupalSettings.js_example.js_weights.green;
-            var newDiv = $('<div></div>').css('color', 'green').html('I have a weight of ' + weight);
-            $('#js-weights').append(newDiv);
-        }
-    };
+  "use strict";
+  /**
+   * Attaches the JS test behavior to weight div.
+   */
+  Drupal.behaviors.jsTestGreenWeight = {
+    attach: function (context, settings) {
+      var weight = drupalSettings.js_example.js_weights.green;
+      var newDiv = $('<div></div>').css('color', 'green').html('I have a weight of ' + weight);
+      $('#js-weights').append(newDiv);
+    }
+  };
 })(jQuery, Drupal, drupalSettings);
diff --git a/js_example/js/js_example_accordion.js b/js_example/js/js_example_accordion.js
index 9b50e88..54abd9f 100644
--- a/js_example/js/js_example_accordion.js
+++ b/js_example/js/js_example_accordion.js
@@ -1 +1,10 @@
-(function($){$(function() { $("#accordion").accordion(); })})(jQuery);
+/**
+ * @file
+ * Contains js for the accordion example.
+ */
+
+(function ($) {
+  $(function () {
+    $("#accordion").accordion();
+  })
+})(jQuery);
diff --git a/js_example/js/purple.js b/js_example/js/purple.js
index d8cc325..d23869b 100755
--- a/js_example/js/purple.js
+++ b/js_example/js/purple.js
@@ -1,13 +1,18 @@
+/**
+ * @file
+ * Contains the definition of the behaviour jsTestPurpleWeight.
+ */
+
 (function ($, Drupal, drupalSettings) {
-    "use strict";
-    /**
-     * Attaches the JS test behavior to weight div.
-     */
-    Drupal.behaviors.jsTestPurpleWeight = {
-        attach: function(context, settings) {
-            var weight = drupalSettings.js_example.js_weights.purple;
-            var newDiv = $('<div></div>').css('color', 'purple').html('I have a weight of ' + weight);
-            $('#js-weights').append(newDiv);
-        }
-    };
+  "use strict";
+  /**
+   * Attaches the JS test behavior to weight div.
+   */
+  Drupal.behaviors.jsTestPurpleWeight = {
+    attach: function (context, settings) {
+      var weight = drupalSettings.js_example.js_weights.purple;
+      var newDiv = $('<div></div>').css('color', 'purple').html('I have a weight of ' + weight);
+      $('#js-weights').append(newDiv);
+    }
+  };
 })(jQuery, Drupal, drupalSettings);
diff --git a/js_example/js/red.js b/js_example/js/red.js
index 528a05b..e182645 100755
--- a/js_example/js/red.js
+++ b/js_example/js/red.js
@@ -1,13 +1,18 @@
+/**
+ * @file
+ * Contains the definition of the behaviour jsTestRedWeight.
+ */
+
 (function ($, Drupal, drupalSettings) {
-    "use strict";
-    /**
-     * Attaches the JS test behavior to weight div.
-     */
-    Drupal.behaviors.jsTestRedWeight = {
-        attach: function(context, settings) {
-            var weight = drupalSettings.js_example.js_weights.red;
-            var newDiv = $('<div></div>').css('color', 'red').html('I have a weight of ' + weight);
-            $('#js-weights').append(newDiv);
-        }
-    };
+  "use strict";
+  /**
+   * Attaches the JS test behavior to weight div.
+   */
+  Drupal.behaviors.jsTestRedWeight = {
+    attach: function (context, settings) {
+      var weight = drupalSettings.js_example.js_weights.red;
+      var newDiv = $('<div></div>').css('color', 'red').html('I have a weight of ' + weight);
+      $('#js-weights').append(newDiv);
+    }
+  };
 })(jQuery, Drupal, drupalSettings);
diff --git a/js_example/src/Controller/JsExampleController.php b/js_example/src/Controller/JsExampleController.php
index a6848bc..775705a 100755
--- a/js_example/src/Controller/JsExampleController.php
+++ b/js_example/src/Controller/JsExampleController.php
@@ -23,16 +23,27 @@ class JsExampleController extends ControllerBase {
    *   A renderable array.
    */
   public function info() {
-    $build['content'] = array(
-      '#markup' => <<<INFOMARKUP
-<p>Drupal includes jQuery and jQuery UI.</p>
-<p>We have two examples of using these:</p>
-<ol>
-<li>An accordion-style section reveal effect. This demonstrates calling a jQuery UI function using Drupal&#39;s rendering system.</li>
-<li>Sorting according to numeric &#39;weight.&#39; This demonstrates attaching your own JavaScript code to individual page elements using Drupal&#39;s rendering system.</li>
-</ol>
-INFOMARKUP
-    );
+    $build['content'] = [
+      'first_line' => [
+        '#prefix' => '<p>',
+        '#markup' => 'Drupal includes jQuery and jQuery UI.',
+        '#suffix' => '</p>',
+      ],
+      'second_line' => [
+        '#prefix' => '<p>',
+        '#markup' => 'We have two examples of using these:',
+        '#suffix' => '</p>',
+      ],
+      'examples_list' => [
+        '#theme' => 'item_list',
+        '#items' => [
+          'An accordion-style section reveal effect. This demonstrates calling a jQuery UI function using Drupal&#39;s rendering system.',
+          'Sorting according to numeric &#39;weight.&#39; This demonstrates attaching your own JavaScript code to individual page elements using Drupal&#39;s rendering system.',
+        ],
+        '#type' => 'ol',
+      ],
+    ];
+
     return $build;
   }
 
diff --git a/js_example/src/Tests/JsExampleTest.php b/js_example/src/Tests/JsExampleTest.php
index da003e5..045711f 100644
--- a/js_example/src/Tests/JsExampleTest.php
+++ b/js_example/src/Tests/JsExampleTest.php
@@ -13,6 +13,7 @@ use Drupal\simpletest\WebTestBase;
  * Functional tests for the js_example module.
  *
  * @ingroup js_example
+ *
  * @group js_example
  * @group examples
  */
