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.
The index is basically defined as Google for "<language> programming" then massage the numbers via hand waving and "false positive detection." It's a silly way to measure programming language popularity given all the possible alternatives.
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.
I'm not sure that I would frame it that way, but I think that is more or less correct. Lua is such a small language that you generally don't need to ask questions before you do stuff.