Refactor js code of the timer, close #45.
Merge pull request #47 from TakenokoChocoHolic/#45_RefactorJScodeOfTheTimer

Refactor js code of the timer, close #45.