first pass phantomjs