fixed script.js