https://pt.stackoverflow.com/questions/206118/cron%C3%B4metro-regressivo-completo-em-js-puro-contagem-problem%C3%A1tica