Removed some console.log messages previously used for debugging purposes.