Add a phantom utility function to drive phantomjs independent of selenium server.