Changed to phantomJS to avoid firefox dependency