Use phantomjs instead of firefox for functional testing