code cleanup on index.html