The web was originally built to read documents. It's only somewhat recently that it's been twisted into an app platform, but there's enough features for most people to build on. I think that in order to move from Javascript, the web might have to be replaced by something else. What's stopping that? Its already everywhere and works for most use cases.