Fix sample code in Clock.js doc