toes.js: add selector handler.