Fix for CI failure due to PhantomJS incompatibility.