Added console.log to script.js