Pure Javascript Web Scraper