Removed debug console.log statements