Added IE8 support
Modified dynamic portfolio generation