fixed indents in main.js