js eventsource post