use PhantomJS everywhere