This question already has an answer here:
As a scripting language it seems very useful and powerful so I would like to know why it is still mainly regarded/implemented as a web language?
I know things like node.js are starting to change this but I'm wondering why it has taken until now for this transition. Are there any reasons why it isn't used in replacement of other scripting languages like Python? Is it lacking anything significant that prevents it from being a true application/system programming language?