Revert "Update main.js"