more javascript work, working clock