Update baskets operation JS side for #52