Hi
i think that "display: block" should not be set by the js code to the parent ul as it is not needed, and in case you want to do something like

ul {
display: table;
}
ul li {
display: table-cell;
}

it forces you to use the !important tag

Simone