Currently browsers only support JS. If you want another language you have to transpile to JS or implement your language in JS, etc.
If the browser vendors were going to add another language I would have hoped it would be something so generic like LLVM instead of this WebASM which is too tied to JS.