some minor mod to indexhtml