console.log's added to alerts

console.log’s added to alerts