Cleans and comments main.js file.