adds dynamic portfolio using js