react native replaceall is not a function