Update controls.js