Global Countdown Timer fails to auto submit the form after the time gets over