Update script.js

Custom sample js code