I want to crawl the page and check for the hyperlinks in that respective page and also follow those hyperlinks and capture data from the page
My typical setup is to use a browser extension with cross origin privileges set, which is injecting both the crawler code and jQuery.
Another take on Javascript crawlers is to use a headless browser like phantomJS or casperJS (which boosts phantom's powers)