Fixes #172.  Cleanup of console.log statements