portfolio.js fix