Update lg_script.js