init jgs source code