DOM 3 Xpath implemention and helper for node.js