Create JS validations