Cross-browser OpenRosa-extended XPath 1.0 implementation in JavaScript.