Fix argument order in control.js