Update portfolios.js