adding countdown helper
committing countdown to measurement template
fixing main.js server side conflict