Javascript default to phantomjs