Change mb functions to JString.