Remove display-javascript.js as it is not needed
Remove side effects from combineOverlappingPeriods

The list which was passed in was being modified.