add js to show loading when filtering results;