Modified document- I quoted out the script that contained the console.log and  alert, to declare a variable.