$(document).on('click', '.move_term_up', function() {
    var row = $(this).parents('tr'),
        prev = row.prev();
    row.insertBefore(prev);