anchor.diff:        alert("Please enter a valid social security number.\n###-##-####");
         return false;
       }
  -    if(/^\d{1,}$/.test(age)){} else{
  +    if(/^\d{1,}$/.test(age)){
  +      if(age > 150){
  +        alert("Please enter an age under 150.");
  +      }
  +    } else{
         alert("Please enter a number for age.")
  +      return false;
  +    }
  +    if(/^[a-zA-Z]{1,}$/.test(firstName)){} else{
  +      alert("Please make sure your first name only contains letters");
  +      return false;
  +    }
  +    if(/^[a-zA-Z]{1,}$/.test(lastName)){} else{
  +      alert("Please make sure your last name only contains letters");
         return false;
       }
       return true;
  
positive.code:             <input type="submit" value="Next" class="btn btn-primary btn-md"/>
          </span>
          </div>
        </div> <!-- /widget -->
      </form:form>
    </jsp:body>
  
negative.code:     var phone = $("#phone").val();
      var ssn = $("#ssn").val();
      var age = $("#age").val();
      var firstName = $("#firstName").val();
      var lastName = $("lastName").val();
      if ((/(.+)@(.+){2,}\.(.+){2,}/.test(email)) || email=="" || email==null) { } else {       //this is copied and pasted from stack overflow
        alert("Please enter a valid email");
        return false;
  