update feature for JS validation