Why JavaScript Is Not a Suitable Language for Real Web Test Automation?

JavaScript is OK for developing apps, but not for functional test automation, where its audience beyond programmers. Ruby is a far better choice.