Implementing Invoke methods on Engine and JsValue