Removing demographic types model and adding accepted_values for the variable type and js logic for form control