The infernal trio HTML/CSS/JS has to die.
Building a web browser is impossible and so is building an OS. But the web became popular because it is the simplest way to distribute your content and app.
It was too hard to build an app to distribute on Windows, MacOS and Linux because of a lack of standard on how to draw the GUI, access the file system, etc.
But web development was not made for how we are using it now and it's just a big pile of crap right now.