make phantomjs not block