Revert "Update main.js"

This reverts commit 89ed97b1e04d3878280f951d7fb3098a4f2fbbad.