constructing index.html