var count = 10; // Number of remaining seconds. var counter; // Handle for the countdown event. function start() { counter = ...