Update main.js

litle clean