Update index.html

javascript snippet