[IMP] web_gantt: Improve code