JavaScript has lots of really wonderful aspects to it, but it's certainly not a beginner-friendly language. You could try teaching it to beginners, but with all the coercion rules and gotchas that make sense if you understand JS. Python actually is the most popular language, but it has a horrible story for mobile and browser and tablets,. It's still the most popular, which is mind-blowing.