code: def load_javascript(chart):
      scripts = []
      for dep in chart.js_dependencies.items:
          f, ext = FILENAMES[dep]
          scripts.append(
              "{}{}.{}".format(CurrentConfig.ONLINE_HOST, f, ext)
          )
      return Javascript(lib=scripts)
  
file_path: pyecharts/pyecharts/render/engine.py
imports: import os
  from jinja2 import Environment
  from ..commons import utils
  from ..datasets import EXTRA, FILENAMES
  from ..globals import CurrentConfig, NotebookType
  from ..types import Any, Optional
  from .display import HTML, Javascript
label_desc: Use image node_id 5 for calling a global function with example usage: load_javascript(chart) and returns: Javascript