Replaced Chrome with PhantonJS to work on travis-ci.