Testing javascript scraping methods