Move scraper.js into lib