Removed console log statements. Added conditional to check for rating and show 'star' or 'stars' appropriately.