[FEATURE] Added console logs
[DESC.]
 - Added console logs
 - Replaced alert with console.error