separate the scraper js