tools to work with pages, performing ajax calls, in phantomjs