You could avoid some indirections by using a `data-panelid` attribute on the panel nodes in the index.html, and just store the module ID directly in there, then use panel.el.dataset.panelid to get it for the loadPanel function.

Going further, you may then be able to remove the id attributes from those index.html elements, and even use [data-panelid] for any css targeting, and remove the `panel` class from those nodes.

Main thing though would be to consider just storing the target module ID on the element and avoid this panelModules indirection.