Be able to display current time via a function rather than hardcoding
Moved methods into a proper namespace
Use setTimeout to update the time displayed
Use setInterval to update the time each second