countdown: updated from branch of pypingou, master.html