Step 1 of phantomjs tests