Add a refresh options for ajax loading.