Please don't inline filter & on it's really hard to read it, also filtered events may be GC-ed if nothing stores reference to it which is a case here I believe. If you do `var pageEvents = filter(...)` then `pageEvents` won't be GC-ed as long as the module is alive.