Removed direct console.log()