               value = ""
               objects = []
               src = $(ele).attr("data-src").split(".")
-              jQuery.each(data, (i, val) ->  
+              jQuery.each(data, (i, val) ->
                 val = val
                 jQuery.each(src, (i, str) ->
                   try

            $(this).hide()
            $(label).show()
       )
       
  nullCheck: (val)->
    if val == null
      return ""

                  $(ele).append(option)
              )
    )


  getRootArray: (data) ->
    while data[0].constructor.toString().indexOf("Array") is not -1
      data = data[0]
    return data

  bindSelects: (data, container) ->
    selects = $(container).find("select[data-val]")
    obj = data
    jQuery.each(selects, (i, ele) ->
      if $(ele).attr("data-val")
        property = $(ele).attr("data-val").split(".")
        jQuery.each(obj, (i, val) ->
          try
            for i in [0..property.length - 1]
              val = val[property[i]]
            if val?
