Update script.js

clean up