Fix reactjs unitsync wrapper.