This whole block (19-24) can be removed, since we don't use phantomjs anymore.