Use Rails unobtrusive JavaScript to eliminate a lot of JS AJAX code
Check that the exam counts array is populated so there aren't errors for users that are not logged in