A digital clock implemented in Javascript