Fix New PhantomJS issue and update dependancies.