modifies config to use PhantomJS