Removed a bunch of debugging console.log() statements.