fixing script.js