Removing unnecessary debug console.log() calls.