Fix javascript to start/stop scraper