Countdown before registration - JS version.