Add target attribute to events.

http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Event