Update main.js

Fixed formating