JavaScript: A function that uses images to perform a countdown.