Is this loading the same webpage whatever JupyterLab is serving or did you write the JavaScript machinery for cell management etc yourself?
If the latter, are interactive plotly graphs or IPython widgets on your radar?