CLC-4112 - Multiple calls to api/badges when loading pages

https://jira.ets.berkeley.edu/jira/browse/CLC-4112