codereview and changes with replacement of string by JString
code review