code: def render_linked_js(self, js_files: Iterable[str]) -> str:
          
          paths = []
          unique_paths = set()  # type: Set[str]
  
          for path in js_files:
              if not is_absolute(path):
                  path = self.static_url(path)
              if path not in unique_paths:
                  paths.append(path)
                  unique_paths.add(path)
  
          return "".join(
              '<script src="'
              + escape.xhtml_escape(p)
              + '" type="text/javascript"></script>'
              for p in paths
          )
docs: Default method used to render the final js links for the
          rendered webpage.
  
          Override this method in a sub-classed controller to change the output.