edited script.js