Fix main index.js