fix: JS bridge — proper export stripping + byte length for QuickJS eval
Strip all `export` keywords (both `export { ... };` and `export function`)
by filling with spaces instead of deleting (preserves line numbers).
Use UTF-8 byte length instead of char length for C interop.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>