frontend validation

validation for knockout