JavaScript has no necessity whatsoever. It was actually originally developed as a scripting language, by an untalented developer, and then also developed in five days. So absolutely not well thought out, and full of wretched design choices. Using a scripting language as a standard for the Web is obviously anything but smart, and we see people's systems hacked by malicious JS code on a daily basis. People with insight often say that JS is actually a form of malware (as is Python for that matter).
Consequently, there are countless websites that deliberately choose not to soak in any form of JS in their website, which for 95% of websites currently in existence is not a real problem by the way.
Here is an example of a website that is perfectly functional without JavaScript:
https://www.devuan.org/
The less JavaScript, the faster the website usually is, and more responsive websites bring in more money.
Suppose you want to offer a sophisticated app through your website, you'd better choose WebAssembly instead of JavaScript. Since JavaScript is very slow when doing more advanced calculations.
Python is one of the slowest and most buggy programming languages. So it is completely accurate to claim that the only skill of Python programmers is to produce crapware.
Java and Ruby have a significantly better programming language design than JavaScript and Python.