WebAssembly... Wow, if we keep going, we'll re-invent what Sun achieved 20 years ago with Java. If only they hadn't f-ed it up...
Was it simply/easy? No. But, you probably wouldn't want to.. The DOM is a crappy way to build an application UI. Someday we might figure that out.
http://fxexperience.com/wp-content/uploads/2011/08/Introduci...
https://en.wikipedia.org/wiki/Extensible_Application_Markup_...
The HTML DOM sucks, but what other DOM is widely available and already installed on literally every machine on the planet?