Add phantomjs testing support for travis