Fix bugs in index.html and remove extra files