added script.js to index.html