Wrapped callback around QJSValue() function. Avoids segfault, but does not run function as it is no callable.