fixed #3: undefined is truthsy for jQuery.toggle