translate scrape-committees to JS (not finished)