Cleaning up script.js.