added code in if statement to change html when timer runs out