this is the code for a js xmas counter