simplified isa and made event.target more web conformant