Make it work with Server-Side Events