Adds working javascript clock to homepage.