add phantomjs to build for travis ci