Update script.js

removed any unwanted code