Fix sample code in Clock.js doc
Merge pull request #1953 from PatMahoney/master

Fix sample code in Clock.js doc