Use ajax to filter badges by category on profile page