make jobject global to be referenced across multiple threads