replace index.html with real html code