diff --git a/knowledge-space.php b/knowledge-space.php
index b54200d3ad761f15f34a5163f7b5e8c48a404b4f..d1f70c06904685bc63263a2c5ea01bc443fb710e 100644
--- a/knowledge-space.php
+++ b/knowledge-space.php
@@ -14,13 +14,10 @@ function ks_add_graph($atts = []): string
     $div = '<div id="3d-graph"></div>'; // The id "3d-graph" indicates, that the javascript associated with this should automatically be executed
 
     $script_path = 'build' . DIRECTORY_SEPARATOR . $GLOBALS['build'] . DIRECTORY_SEPARATOR . 'graph.js';
-    // $script = "<script src='$script_path'></script>";
-    //wp_enqueue_script('kg-script', $script_path);
     wp_enqueue_script("ks-display-js", plugins_url($script_path, __FILE__), array('jquery'), false);
     ks_localize();
 
     return $div;
-    // return $div . $variables . $script;
 }
 
 function ks_echo_graph($atts = []): void
@@ -54,12 +51,7 @@ function ks_add_editor($atts = [])
 function ks_add_editor_dependencies()
 {
     $script_path = 'build' . DIRECTORY_SEPARATOR . $GLOBALS['build'] . DIRECTORY_SEPARATOR . 'graph.js';
-
-    //    wp_enqueue_script('jquery');
     wp_enqueue_script("ks-editor-js", plugins_url($script_path, __FILE__), array('jquery'), false);
-    //wp_register_script("ks-editor-js", plugins_url($script_path, __FILE__), array('jquery'), false);
-
-    //wp_enqueue_script("ks-editor-js");
 
     $style_file_version = date("ymd-Gis", filemtime(plugin_dir_path(__FILE__) . "editor/css/editor.css"));
     wp_enqueue_style("ks-editor-css", plugins_url("editor/css/editor.css", __FILE__), array(), $style_file_version);