update Selector.js for lxml