     #the very first refresh will actually display the table
     refresh()
 
-    $(".pvtAxisContainer")
+    @find(".pvtAxisContainer")
          .sortable({connectWith:".pvtAxisContainer", items: 'li'})
          .bind "sortstop", refresh
 

        subopts.cols = []
        subopts.rows = []
        vals = []
        $("#rows li nobr").each -> subopts.rows.push $(this).text()
        $("#cols li nobr").each -> subopts.cols.push $(this).text()
        $("#vals li nobr").each -> vals.push $(this).text()

        subopts.aggregator = opts.aggregators[aggregator.val()](vals)
        subopts.renderer = opts.renderers[renderer.val()]

        #construct filter here
        exclusions = []
        $('input.pvtFilter').not(':checked').each ->
            exclusions.push $(this).data("filter")

        subopts.filter = (record) ->

    #set up the UI initial state as requested by moving elements around

    for x in opts.cols
        @find("#cols").append @find("#axis_#{x.replace(/\s/g, "")}")
    for x in opts.rows
        @find("#rows").append @find("#axis_#{x.replace(/\s/g, "")}")
    for x in opts.vals
        @find("#vals").append @find("#axis_#{x.replace(/\s/g, "")}")
    if opts.aggregatorName?
        @find("#aggregator").val opts.aggregatorName
    if opts.rendererName?
        @find("#renderer").val opts.rendererName

    #set up for refreshing
    refresh = =>
