With the latest stable version of Construct (v293) HTML Element is an official plugin. I recommend using the one released by Construct instead of mine.
I just uploaded an updated version of the plugin. It should now support "Module" mode. I tested the sample projects and found no particular problems. But I recommend a little caution and please let me know if something no longer works as it used to.
For the moment the plugin works with "Use Worker: NO" and "Scripts Type: MODULE".
Thank you all!
See documentation with examples on Addon's Github page
Example: How to build...