               $("##{$(ele).attr("id")} option:contains('#{val}')").attr("selected", "selected");
           catch ex
         )
-    )          
-  
+    )
+
   bindInputs: (data, container) ->
        inputs = $(container).find("input:text[data-val]")
        jQuery.each(inputs, (i, ele) ->
-                   if $(ele).attr("data-val") 
+                   if $(ele).attr("data-val")
                      jQuery.each(data, (i, obj) ->
                        property = $(ele).attr("data-val").split(".")
                        try

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

    if Prometheus.getBoolean(name)
      input.attr("name", name)
    return input

  getOnBlur: (ele) ->
    if $(ele).attr("data-blur")
      return ""
    else
      return ""

  bindLists: (data, container) ->
    lists = $(container).find("ul[data-val]")
    jQuery.each(lists, (i, ele) ->
            success = 0
            title = ""
            list_count = $(ele).find("li").length
            if $(ele).attr("data-val")
              jQuery.each(data, (i, obj) ->
                property = $(ele).attr("data-val").split(".")
                change = Prometheus.getOnChange(ele)
