updated main.js to use spaces instead of indents for github