JS for daily agenda