I've never heard anyone tell me that JavaScript is slow. I remember node.js benchmarks in the front page of hn showing it to be as fast as hotspot jvm. And this was pre 2012. And since node is single threaded, you had to run n.cores instances of your app. For the longest time as a kid what I was lied to was that Java was much slower than Ruby/Python and my perception was painted by the startup times.
Java is probably 10 times faster than JS and Pyrhon.
I don't wish to start a language flame war here. We're beyond that.
But by what measure? Doesn't this depend on what you're doing?