use karma instead of testacular, use phantomjs from npm