merge index.html and fix some bugs
merge index.html and fix some bugs