update countdown script with parseInt