Set button width in defendant sub panel
refactored coffeescript to reduce duplication