Removed console.logs, unneeded comments, and cleaned up spacing