Bug 991927 - Create new CustomEvent objects rather than caching them, to...

... avoid entraining their most recent target and preventing it from being GCed.