use phantomJS for karma test