default to phantomjs and use switch utilities