Revert "Update main.js"

This reverts commit 2c0370709859fde1b626b720c196522b186578c4.