modified validation-js