prepare index.html file