With javascript and console.log

This commit is after the change of the addition of the alert and
console.log message