Renamed method which resets input field. Removed calls to console.log.