docs: function startPhantom(next) {
  
      phantomProcess = spawn(options.phantom.path, options.phantom.args);
  
      phantomProcess.stderr.setEncoding('utf8');
      phantomProcess.stderr.on('data', function(data) {
          data = data.trim();
      });
      phantomProcess.stdout.setEncoding('utf8');
      // wait for client ready message before proceeding
      phantomProcess.stdout.on('data', function(msg) {
          // look for msg that indicates it's ready and then stop logging messages
          if (!started && msg.indexOf('Registered with grid') > -1) {
              //            console.log ('phantom client ready');
              started = true;
              starting = false;
              if (typeof next === 'function') {
                  return next();
              }
          };
      });
  }