removed all jquery approach. Functionality saveSelectedSectionIndex left to be done