Removing a console.log statement