implement JS function for Validation Editor