js ui - react two-way data binding