Support IE10.
Background color changes depending on remaining time.

Fractions of total running time on which color is changed can be
configured in constants "greenUntil" and "yellowUntil".