Removed errant console.log statement which was used for debugging.