unsafeCast fixed it. But still not working... The ...
# javascript
t
unsafeCast fixed it. But still not working... The code generated use
HTMLButtonElement.call(this)
and it's not valid in javascript. There is not constructor on HTMLElement. The only way to create a DOM element is to use
document.createElement()