update countdown with js