Add PhantomJS and SlimerJS support