added script to index.html