Now makes jobject calls instead of calling static java methods