Scraping AJAX content using NodeJS

Can someone point me to the right direction on how to scrape ajax content? If a site has comments (for example) with pagination, but the comments is displayed dynamically (where there's no page refresh), how do I scrape those comments?