Update main.js

things are still breaking