refactoring cheerio template to cheeriot