Update selection.js