JS is a valid TS, Kotlin is not a valid Java (only at a bytecode level, but then you might as well combine all JVM languages).
Only up to C90, and even modern C++ doesn’t fully implement modern C.
JS is a valid TS.
But you can easily have both of them in the same project (e.g. when slowly moving to kotlin) and have them interop.