Update: MainCtrl.js, removed unused functions