Extend universal backend with minimal FFI functionality for JavaScript