Fixes jquery window issue by using cheerio instead