hw4, part2: modified index.html