 $ ->
 
   # Progresssive enhancements
-  $("[data-newwindow]").live "click", (e) ->
+  $(document).on "click", "[data-newwindow]", (e) ->
 
     [ width, height ] = $(this).data("newwindow").split("x")
     window.open(this.href, "_blank", "width=#{width},height=#{height},location=no,menubar=no")
     e.preventDefault()
 
 
-  $("a[data-ajax]").live "click", (event) ->
+  $(document).on "click", "a[data-ajax]", (event) ->
     
     event.preventDefault()
     $this = $(this)

    )
  

  $("table input.select-all-rows").live "change", ->

    $this = $(this)
    $this.parents("table").find("tbody input.select-row").prop("checked", this.checked)

      


    $(document).on "change", "table input.select-row", ->

      $this = $(this)
      $table = $this.parents("table").first()
