Update selector.js