What makes you prefer Javascript over Typescript? For me TS removes some of the frustrations of JS.
In the case of js and ts: they can do the same, but ts is less frustrating because the added types catches bugs when writing code, it gives useful info about what a variable is meant to do, and my IDE gives way more useful hints.