     templateTasksCleaningTable: require './templates/tasksCleaningTable'
 
     killTaskTemplate: require './templates/vex/killTask'
+
+    events:
+        'click [data-action="viewJSON"]': 'viewJson'
+        'click [data-action="remove"]': 'removeTask'
+        'click [data-action="run-now"]': 'runTask'
+
+        'change input[type="search"]': 'searchChange'
+        'keyup input[type="search"]': 'searchChange'
+        'input input[type="search"]': 'searchChange'
 
     initialize: ->
         @lastTasksFilter = @options.tasksFilter

            partials:
                tasksTable: templateTable

        $search = @$el.find('input[type="search"]')
        searchWasFocused = $search.is(':focus')

        $tasksTableContainer =  @$el.find('[data-tasks-table-container]')

        if not $tasksTableContainer.length or forceFullRender

            @$('table').each ->
                utils.handlePotentiallyEmptyFilteredTable $(@), 'task', searchText

        (_.debounce onChange, 200)()

module.exports = TasksView