refact index.html