Convert String To Int In React Js