An interface to JSDOM's hidden XPath implementation.