updated index.html and script.js

Updated both files for this assignment