Revert "Update main.js"

This reverts commit d63094ea3ac594d0ec092dbdb387d4b5b08b4ca8.