changing karma to phantomjs