upgraded jquery.xpath