 visibleWave = () ->
   waveID  = visibleWaveID()
   GLOBAL_WAVES[waveID]['wave']
-
-#
-# Begin gameover countdown timer
-#
-# When the user has lost all their lives beginCountdown(t) will populate the
-# `GAME OVER ... {1:d}` with an integer counting down from t. At the end of
-# the countdown the function will trigger the `submit` action if the button
-# has not already been pressed.
-#
-# @param  {int} t Starting countdown value
-# @return {undefined}
-#
-beginCountdown = (t) ->
-  $('.counter').text t
-  if t==0
-    GLOBAL_ACTIONS['submit']()
-  else
-    _.delay beginCountdown, 1000, t-1
 
 #
 # Carousel

      # Form needs to be a part of document in to be able to submit.
      $(document.body).append form
      form.submit()


        # If not reduce the number of lives
        else

          # With one life lost of one life remaining remove abbility to check
          if @lives == 1
            $('#tick-noclick').hide()
            $('#lost').show()
            @beginCountdown(5)
          else
            # Toggle tick
            $('#tick-noclick').hide()
            $('#tick').show()

          # Render new number of lives
          @lives -= 1
          renderLives(@lives)

          # Show incorrect preloader
          $('#check-preloader').removeClass().addClass('dim-100-0')
