just progress on control.js