The domains you listed are not really disproving my point.
I'm certain that programs could be made in JavaScript for these domains but, like I said in my first comment, it's probably a bad fit.
For example: Espruino is a platform for embedded JavaScript.
I just think about it this way: Just because you wouldn't doesn't mean you couldn't