fix vanillajs evaluateXPath