Fixes javascript ID generation for collapsible component