added empty validator in JS and form helper