use C95 syntax to compile under msvc10;function members for JString