timer function in pure javascript
the main site
the game and timer
some styles