fixed a forsaken js typo in controllers/badge.js.