Update script.js to latest