Cleaning up models/badge.js