Modified karma-e2e to use phantomjs