scrape and parse a remote document client-side