Anything but JavaScript. We've had enough of slow bloated clients, we need more native clients.
Probably Kotlin for Android, Rust for desktop or Swift for iOS.
You don't need to make a big client for all platforms, making one small but actually good client for one specific platform is better for the ecosystem.