Pass a JSContext to JSValConvertible::to_jsval.