Update ScheduleCtrl.js