some refactoring.
Merge branch 'master' of https://github.com/alexcera/c4timer.js