Optimize to use new Date() timestamps and difference using math rather than a setInterval.
Optimize to use new Date() timestamps and difference using math rather than a setInterval.