working timer js commit 3