xpath.js no longer leaks globals