Add phantomjs for travis-ci headless browser testing