Please don't get into javascript , sure it is flexible and all , but it's very annoying lol , It has many flaws and I don't get how it doesn't have a module system , you are better off learning lisp,Java or C/C++ I mean yeah I admit it is very powerful and flexible but it seems to me like it is just a poor mixture of Java , lisp and C
but then again it is my opinion so if you really into it , or your classes in uni require you to learn it , by all means go for it !