lib: eventSource