Of course people will need to be informed on security and privacy on computers, but that doesn't require an understanding of coding. I know how to safely drive a car, for example, but I have no idea how it works under the hood (and frankly, I don't have the time or energy to learn this).
Coding really is a specialized job. For sure, some people would be better off learning it because it can be useful, but everyday people don't need to know how to code just like they don't need to know how a car works. All they need to know is how to drive safely, or use the computer securely.
And really, I don't get this whole "learn to code, learn how your computer works" idea. When I first learned ruby, I didn't magically gain an understanding of filesystems and networks and all those other things. My dad, on the other hand, who doesn't know how to code, in fact he didn't even know what a kernel was, can fix your computer up in a jiffy (hardware and software both, particularly windows). He's in fact still better than me at this, because he knows all the intimate little details of the windows UI and what each thing does, what each error probably means.
So the point is, you don't need to learn how to code to know how to use a computer well, and learning javascript won't really help you with that either. If all you want is to know how to protect your computer from the powers that be, don't learn to code; just listen to what the experts have to say on the subject.