Try handling events and using console.