Use console.log instead of alert