index.html & main.html modification