Deleted console.logs and supefluous comments