add EventTarget code and it's samples