Revert "removing extra Travis install steps now we use PhantomJS for tests"

This reverts commit 7645c12e047383faebc1b39e7f699d37cd7cbc51.