Add PhantomJS support