refactored JGL namespace initialization