Update main.js

Enabled multiple entries to export