made standard properties use enumerationfield; modified js code to always display current value of enumerationfield