Add your li to a class, and do $(".myclass").hide(); at the start to hide it instead of the visibility style attribute.
As far as I know, jquery uses the display style attribute to show/hide elements instead of visibility (may be wrong on that one, in either case the above is worth trying)