better hash for JString