add max nb of items in ajax requests