diff --git a/public/cluster.js b/public/cluster.js
index 6795147461988e854e698e09d6e874bb335b75fb..906eb034c9a23fb5a68588426696e31ce43b413e 100644
--- a/public/cluster.js
+++ b/public/cluster.js
@@ -216,8 +216,10 @@ class Node {
         this.gpu_model = dict['gpu_model'];
 
         for (let gpu_id = 0; gpu_id < this.num_gpus; gpu_id++ ) {
-            this.gpus[gpu_id].update_from_dict(this.gpu_model,
-                                               dict['gpus'][gpu_id]);
+            this.gpus[gpu_id].update_from_dict(
+                this.gpu_model,
+                dict['gpus'][gpu_id]
+            );
         }
     }
 }
@@ -229,14 +231,18 @@ export class Cluster {
         this.main_container = document.createElement('div');
         this.main_container.className = 'main container';
 
+        // Add cluster nodes 1 to 7 (they each have 2 GPUs)
         for (let node_id = 1; node_id < 8; node_id++ ) {
             this.nodes[node_id] = new Node(node_id, 2, this.main_container);
         }
+
+        // Invisible node fills the gap at the right of 'gpu7', as longer 'gpu8' is put below
         let invisible_node = document.createElement('div');
         invisible_node.className = 'cluster container';
         invisible_node.id = 'invisible-cluster';
         this.main_container.appendChild(invisible_node);
 
+        // Add cluster node 8 (which has 4 GPUs)
         this.nodes[8] = new Node(8, 4, this.main_container);
 
         let last_container = document.createElement('div');
@@ -246,8 +252,6 @@ export class Cluster {
     }
 
     update(dict) {
-
-
         for (let node_id in dict) {
             this.nodes[node_id].update(dict[node_id]);
         }
@@ -256,10 +260,8 @@ export class Cluster {
     show() {
         var root = document.getElementById('home');
         root.appendChild(this.main_container);
-
     }
 
     hide() {
-
     }
 }