[IMP] web_gantt: Improve code base on PR comment