Python wrapper around phantomjs headless borwser