Updated debugging log for event.target