code: def update_js():
      js_relative_path = [
          "js-package",
          "build",
          "dist",
          "js",
          "productionExecutable",
      ]
      js_libs = [
          "lets-plot.min",
      ]
  
      from shutil import copy
  
      for lib in js_libs:
          js_path = os.path.join(
              root_dir, *js_relative_path, lib + ".js"
          )
  
          dst_dir = os.path.join(
              this_dir, python_package, "package_data"
          )
          if not os.path.isdir(dst_dir):
              os.mkdir(dst_dir)
  
          copy(
              js_path,
              os.path.join(this_dir, python_package, "package_data"),
          )
  
file_path: lets-plot/python-package/setup.py
imports: import os
  import platform
  from setuptools import Command, Extension
  from setuptools import setup, find_packages
label_desc: Use image node_id 1 for calling a global function with example usage: update_js() without return types