With my experience learning more languages will naturally arise with the need to implement certain features. (most seasoned programmers tend to know multiple languages as a result of circumstance ). When a client requests features that tend towards a SPA and you are say, a PHP developer, then the need to learn Javascript will arise.