Removed extraneous console.logs from debugging.