made changes to script.js