Animation applied to clock divs

Animations now take place in actual clock divs (every other second for
testing purposes).

Refined javascript and added advancedClock for determining which digits
will need to play animations one second before their values change.