Fixed compilation error in MainCtrl.coffe