Changing to Console.log

I changed the alert settings to console.log so that the message would
appear on the console vs. an alert box