replaced tabs in control.js with spaces