Pure javascript github event stream