The interesting thing about the web is the push to WASM. You don’t need to use JavaScript anymore. You can prep normal Java/Python/Rust to run on the WASM base with no JS.
Look into Rust if you haven’t. A lot of focus is pushing it for web apps. If you use it like a dumb Java at first it’s not difficult to start up. It’s also very marketable due to the security and concurrency problems rust gets closer to solving.
It’s MIT license, so MS lite.