correction for script.js