1990s calling: there's a language which is strongly typed, and will compile to bytecode that runs both on your server and in your browser as a sort of universal binary. It's named after a type of coffee...
JavaScript? WASM? Browsers don't run Java any more
MS had VBS. Just sayin
MS(IE) had ActiveScript, of which VBS was just one implementation (although it was the bundled one that always existed). People have built integrations for stuff like Tcl, Python, or Perl, making them available to the browser.