Remove custom implementation of $.contains

Prefer Cheerio's implementation of this jQuery method (implemented in
v0.10.6).