changes to js lists hiding un needed elements and changing displayed text