Add notes about bad code in lib/mention.js