code: function addLinks(link) {
      this.then(function() {
          var found = this.evaluate(searchLinks);
          this.echo(found.length + " links found on " + link);
          links = links.concat(found);
      });
  }
docs: Get the links, and add them to the links array (It could be done all in one step, but it is intentionally splitted)