support for phantomjs running