Update index.html

Add code for legend