We all have Custom Elements API, so we can use it: https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements
As for putting <clippy> and <toast> into browser, instead of JS library…
I think we may add waaay too many elements this way.