move countdown timer script to shared folder to refactor views