add headless script to connect a phantomjs browser

See notes in README for instruction to connect a (headless) phantomjs browser.