Update common-controls.js