Fixes for credit in event_controller.js