String To Int In Java Using Integer Parseint Javascript