convert index to html5