client: allow using PhantomJS 2.0.

This will be useful in testing the current state of the KDAB Qt5 port: https://github.com/KDAB/phantomjs