Completed script.js