update script.js file per tuncs request