selector.js: implement XS.$()