Fix Node.js build

#271 patched a bug in `partial` for browser environments only. Include a similar patch for Node.js.

*Note: Because this work exposed a bug in Cheerio (a LayoutManager dependency), Cheerio itself had to be patched and a new version released--see https://github.com/MatthewMueller/cheerio/pull/160.*