Use jQuery-based XPath construction by default, manual as a fall-back.
Added manual XPath evaluation fallback for bogus elements.