Changes to script.js and a few more changes

script,js changed
and added the newscript.js