Determine the XPath of an element with jQuery