A JupyterLab extension for running Javascript from a notebook in JupyterLab
To render VDOM output in IPython:
from IPython.display import Javascript Javascript('console.log("hello world");')
See the JupyterLab Contributor Documentation.