update dependencies and change testing to PhantomJS