updated reactjs example