clean up script.js