Make bugs search work more smoothly with datatables and ajax