Binary Clock written in Javascript