improve ajax paginate, manage score and delete salary function