completet index.html binding to event stream