Use Case vs Popular Library
There are over9999 JavaScript libraries that can do almost anything. The motivation behind so many libraries is simple: invent wheel and let everyone else to use it. After all, it is bad to re-invent wheel all the time, unless you're doing it better than others.
When you use library, you do it for some specific need. We ain't just including libraries out of their popularity, right?
So let's take a look at most popular library jQuery.