unsafe extern "C" fn getService(
    cx: *mut JSContext,
    argc: c_uint,
    vp: *mut JSVal,
) -> bool