Variable
newValue
probably contains string.
The cases should be in quotes.
So your cases would be
case '4':
g_form.setDisplay('DLP_Scan',false);
g_form.setDisplay('account_requesting',false);
g_form.setDisplay('rule_change',false);
g_form.setDisplay('report_requesting',false);
g_form.setDisplay('change_need',true);
break;
case '2':
alert(newValue);
g_form.setDisplay('DLP_Scan',false);
g_form.setDisplay('change_need',false);
g_form.setDisplay('rule_change',false);
g_form.setDisplay('report_requesting',false);
g_form.setDisplay('account_requesting',true);
break;
Vice versa you could convert
newValue
to integer.