Compatibility with Firefox : used event.target instead of event.srcElement