Firefox can't handle event.srcElement, added fallback to event.target