fixed the calendar javascript bug in editor-event-3.html