Search, filter and reordering using AJAX