It is best to either remove the script tags immediately after loading the tree tree, or dynamically create a script tag in your javascript.
Anyway, if someone wants to use a web developer tool or Firebug, they will still see javascript. If it is in the browser, it will be visible.
One of the advantages of dynamically creating a script tag is that you will not load javascript if javascript is disabled.
javascript, html, script.
: <script src='...' />, javascript, URL- javascript, d/l javascript. script, , html firebug, , Firebug , View Source.
, , Firebug javascript, .
, , , , javascript ajax-, "exec" . , -.