Fix cast for discrepancy between Eclipse TypeScript & normal TypeScript
Fix: remove extra comma in old layout spec
Use actual time instead of event time for dt

Unlike the dt for the smoother it makes no sense to use the event time here.