pub fn compile_to_register_bytecode( ctx: &mut JSContext, code: &str, ) -> Result<(Vec<u8>, Vec<JSValue>), String>