chore(travis): make tests work with phantomjs