Add console.log to last 2 alerts