Fix JS interaction on timeline