Changed to using firefox instead of PhantomJS