react js eventsource