Removed extraneous debugging code.

Removed some console.log() calls and fixed some formatting in main.js.