upvote
> And why was it the only language in the browsers?

Nobody wanted to implement another language which would have broken cross browser functionality for animating menus on HTML pages.

> And why did it spread to servers?

Because frontend devs didn't want to learn another programming language.

> Java was bloated and PHP even more ugly. So I also choose node.

So you chose an environment that was slow, single-threaded, had an immature ecosystem, callback hell, and was difficult to debug. To each their own I guess.

reply
"To each their own I guess."

What choice was there, when I liked Java even less?

And node is just simple. I even used it as a cross plattform toolset. Indexing files. Moving around, tagging, sorting, toolcall. Not nice looking, but simple enough that it just worked. And I never had callback hell in node, as I kept my servers simple and most of the logic on the client.

reply