Reverts changes to main.js file from recent rebase.