OK- used pagedata variable to hold cheerio.load returning it. Seems to work - prints URL and validates. After running gives handler.call error