sse js: log sse events