TIMOB-16266-Update javascript sections whenever the collection change