Personally, I can code in a few languages but I build mostly in JS. I understand why some engineers would not want to work with it and I'm not personally offended by that, but I think ES6+ can provide a great dev experience. And while there's certainly a lot of crappy jobs in the space, there also seems to be really interesting work to be found around Node / React / Vue etc.
From a freelance/consultancy niche it's almost ideal. Demand is high, and employers/clients are likely to have relatively simple requirements (i.e. a brochure/catalog site with a bit of a backend, not a huge industrial db that needs to run at planetary scale backed by a devops machine.)
It's not a personal interest but it seems to work well for people who can stand out from the pack, even a little.
If you haven’t done much other than PHP and JavaScript, I’d suggest going through the Seven Languages in Seven Weeks book, and also doing a bit of market analysis; see who’s hiring for which languages.