fix PhantomJS version at < 2.0.0