Update to use PhantomJS for testing.