If we wait for the event handler to kick in, other js code might run first (like offline event registration does an ajax call to register a participant).