JavaScript file for Grove - RTC clock