try run func with phantomjs on travis