Update and rename lg_script.php to lg_script.js