Merge branch 'deif_fix_allocations_longer_than_first_hour_last_hour' into deploy
Improve js performance for older IE versions.

Drop creating markup with jquery in favour of good old strings.
Merge branch 'deif-improve-javascript-performance'