code: def js_prerelease(command, strict=False):
      """decorator for symlinking notebook with extension in development"""
  
      class DecoratedCommand(command):
          def run(self):
              jsdeps = self.distribution.get_command_obj(
                  "jsdeps"
              )  # noqa
              self.distribution.run_command("jsdeps")
              command.run(self)
              update_package_data(self.distribution)
  
      return DecoratedCommand
  
imports: from __future__ import print_function
  from distutils.command.install import install
  from setuptools import setup, find_packages, Command
  from setuptools.command.sdist import sdist
  from setuptools.command.build_py import build_py
  from setuptools.command.egg_info import egg_info
  from setuptools.command.develop import develop
  import atexit
  from distutils import log
  import os
  from shutil import copy
  from subprocess import check_call, check_output
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: js_prerelease(command, strict) and returns: DecoratedCommand