update script.js

added js script