Update edit-script.js