Decouple JS and CSS classes for registration components