code: def wrap_in_script_tag(
      js: str, type: str = "text/javascript", id: str | None = None
  ) -> str:
      """ """
      return SCRIPT_TAG.render(js_code=indent(js, 2), type=type, id=id)
  
imports: from __future__ import annotations
  import logging
  from ..core.templates import SCRIPT_TAG
  from ..util.strings import indent
label_desc: Use image node_id 3 for calling a global function with example usage: wrap_in_script_tag(js, type, id) and returns: SCRIPT_TAG