helper to start phantomjs sessions