tweaked JS showall hide all function