Fix a typo and remove a superfluous console.info statement