enabled js validation for changing records