Modified document to include the console.log