fix quadbadge tabs in badges.js