Update main.js

Fix it!