Update controller-main.js

Fixed a bug where the 'setProgress' event handler is not working