The purpose of a teaching language must be to show students core concepts of programming. Since JavaScript doesn't have proper polymorphism, inheritance, hell even types, I don't see how they would benefit from being introduced to it initially. We started with Java and while it was a pain in general, the concepts were clear and you could easily go ahead with any other language afterwards. We also had some scheme and C just to have a look at other programming languages, but didn't do much with them.