I know the headline was designed to get clicks, but you don't really need to look at the statistics to answer this question.
Some of the metrics may be skewed anyway, when new frameworks come out, they tend to be identified by their name, not their underlying language. All of these frameworks compile to JavaScript though, they just aren't identified as JavaScript.
There may also be a problem with the metrics of counting the amount of JavaScript files or lines on GitHub, as more abstractions have arisen, more projects .gitignore their compiled code. So you'll have an angular project with TypeScript files, that when deployed to production becomes JavaScript. That JavaScript is not stored in GitHub.
JavaScript will be around as long as it is the language used by web browsers, end of story.
Good article though, I enjoyed it!