Adds main.js template file. Cleans up indentation for Gruntfile and Index.js.