The question makes no sense at all. PhantomJS is not a JavaScript library like jQuery. It is compiled into binary code (
http://phantomjs.org/build.html[
^]), so, naturally, it cannot be used on the client side at all.
The purposes of this product are completely different:
http://phantomjs.org/[
^],
https://github.com/ariya/phantomjs/wiki[
^].
Of course, I can imagine using it on the server side for whatever purposes, but it takes us too far from your original question.
—SA