That’s because Netscape’s original counter-proposal to CSS for a styling language was called JSSS[1]. When it became obvious that CSS was the way the industry was moving they hurriedly implemented the new CSS API on top of the old JSSS engine, which required JS to run.
[1] https://en.wikipedia.org/wiki/JavaScript_Style_Sheets