A timer showing the modular JS pattern.