Clock.js

Starting to formalize code into javascript "class".