Fixes dependency conflict in PhantomJS