moved to phantomjs for karma testing