The clearSelection() methd clears the active time range select in the JavaScript Gantt Chart component.
DayPilot.Gantt.clearSelection();