fix event URLs, link to trailing slashes
[#73436416] move event filter js into a separate file