init sturct of index.html