change to use PhantomJS

chrome not supported on travis-ci, update dependencies