title: Node request, cheerio - how to handle additional ajax load
body: <p>I'm using node, request and cheerio, to fetch data from a html page. This has not been any problem but one page loads additional data through ajax to fill different containers. These are empty and undefined when the initial request is done, how do I handle this the best way?</p>
  
  <pre><code>request(url, function (error, response, html) {
  if (!error &amp;&amp; response.statusCode == 200) {
  
      var $ = cheerio.load(html);
  
      forum_url = $('.this.url.is.loaded.separatly.with.ajax'[1].attr('href');
  }
  });
  </code></pre>