console.log on onclick