On StackOverflow, Lua has barely 1.1K questions, while JavaScript has over 100K questions. As a point of comparison, Clojure has 1.6K. The Tiobe method seems flawed.
My guess is that their "false positive detection" is penalizing Javascript more than anything. I can understand Lua being #10, but Javascript being #11 is preposterous.