Add code to index.html