Changed clock to Javascript.