solved the script.js issue