add a console.log to the js