BCD clock implemented using HTML5 and JavaScript