Update script.js

fix