Added code to index.html