Yes, I understand that C is virtually everywhere, but requires much more to deploy an application everywhere.
Javascript: write once - deploy everywhere
C: Write once, compile for every target, deploy everywhere.
See the difference?
And how often is it necessary to alter a compiled application for nuances on specific targets? Javascript is often written wifh fallbacks for targets that don't support a specific feature.
I'm not saying Javascript is superior or inferior to C. They have different strengths and weaknesses. Why must there be a "best language" or arguments over "my language is better than yours"? It's all a personal preference when more than one language can perform a given task. What about tasks that are possible in one language and not in another? Apples and oranges comparing C and Javascript.
Thursday I was writing Objective-C, Friday I was writing Java, today I was replacing the fuel-injectors in my truck, sometime next week I expect to be writing some PHP. Personally, I enjoyed replacing the fuel-injectors more than the work I did Thursday or Friday - and now my truck is running better. Because fuel-system work makes my truck run better, does that make auto-repair better than Objective-C or Java - because neither of them make my truck run better? Objective-C and Java pay the bills while working on my truck does not - does that make programming better than auto-repair? Apples and oranges.
I think it's safe to say that you prefer C to the exclusion of everything else.