associated js

associated script.js to index.html