Get event from d3, firefox does not support window.event