I don't think replacing one bad idea with another bad idea is a good idea ;) I'm also not sure if Java would be less bad in that case. At least JS has years of research that went into making it start fast, not only run fast after warmup.
And then all you web devs could still compile rust to wasm. wasm is already faster than JS anyway. JS was a mistake.