Restructuring main.js, removing unnecessary comments from HTML/JS.