JavaScript example for ds1307 RTC clock