The problem is the second parameter of `cheerio#make(dom, context)`. `.map` will pass the index as the second argument, so the context will be set to a number, which screws things up.

This could be circumvented by using the currying functionality of `Function#bind`, by passing `null` or `undefined` as the context.