fix timehelper dateToJsDate function because js months start with month 0...
Merge remote-tracking branch 'exi/timehelperFixes' into noGreenLineOnWeekends

* exi/timehelperFixes:
  fix timehelper dateToJsDate function because js months start with month 0...
Moved all intermediate values to separate functions

They might be needed in multiple places.
Actually call the function that renders the upper left rectangle