Modified html/js for time display in dashboard mode

This fixes the mismatch time displays between display mode and normal mode