Refactor clock.html to index.html