Upgrade third party dependency JavaScript-XPath to 0.1.12

Amongst other improvements it fixes a typo bug which caused
initialization problems for BaseExprHasPredicates.

Thanks for Jacques Bonet <jacques.bonet@gmail.com> for noticing.