JS ctd and registration UI