Fix main.js (missing exports)