Defining Alerts and Console.log