Most job offers require more than one language - often a front end language and a back end language so its not surprising that JavaScript is higher as its the only real option on the front end. I use both in my job but I spend far more time in Python (and as far as preference goes Python wins hands down over JS).
https://jobsquery.it/stats/language/group
JavaScript is mentioned in 17% of all tech job offers VS 10% for Python.
However in terms of average salary - Python is the winner. Average salary for Python openings is $117k annually VS $96k for Javascript.
(same stats page https://jobsquery.it/stats/language/group )