Adding div id and moving styles to css
Refactoring code
Fixing indentation and sorting events by start_time
Commenting unnecessary code
Bug Fix - remove sortByOrder
Bug fix: eventOrder should increase only if an event is allocated the eventOrder
Decoupling ifs
Bug fix: Handle the case when overlapping events occur over disjoint time interval
Removing commented code
Refactoring the init loop
Indeting and separating rendering function
Combining ifs
Bug fixing + adding functionality to ensure all colliding events are of the same width
Removing fixme and console logs