move phantomjsCompat.js to externallibraries-client