consolelog

added console.log to the js to see what is actually going on