edit-timetable.js: my brain might be turned off...