Scrape from html and javascript and write to CSV