Remove nonstandard EventTarget static methods

Fixes #860.