 
       # Put the regular expressions
       # in a function that is used
-      # later with data-object HTML5
+      # later with data- attributes
       checkIsMail = (input) ->
         pattern = new RegExp(emailReg)
         return pattern.test(input)

  jqValidator: (options) ->
    # Default settings
    settings =
      debug: false
      isForm: false
      buttonClass: ".btn"
      personalized_error: false
      correct_function: () ->
      error_function: () ->
      callback: () ->

    # Merge default settings with options.
    settings = $.extend settings, options

        # Debug
        log "value is #{value}"

        # Now check the whole lot of data- attribute
        # and if the field is compiled as requested
        if value > issuedLength and ismail is true and isname is true and isnumber is true
          $(element).addClass "checked"
