You'll have to expound on what makes it broken...
As a software engineer who develops almost exclusively in JavaScript (well, TypeScript), I think the web ecosystem have matured greatly in the last 5 years. Many of its shortcomings have been addressed with new APIs such as fetch, promises/async-await, modules, web components, web workers, etc. In fact, with the introduction of Node, NativeScript and React Native, and Electron, I wouldn't be surprised if JavaScript becomes the dominant language for most programming tasks in a few years.
It can take a lot of work to be effective in JavaScript, but with the right toolset, web development can be quite enjoyable. (I recommend TypeScript, Sass, Angular 2, and Webpack.)