Cleaned up comments and console.log calls