Stream Event And DataGateWay For JavaScript