fixes for control.js formatter