added EventSource API docs