Added check to see if Phantom.js is installed