added controls.js