translated all js validations