This should finally solve the question of how to pull behaviour defined in JS modules into static HTML without bending over backwards.