better seperation on js in day view