Refactoring before adding more phantomjs tests.