(function() { [].forEach.call(document.querySelectorAll("ul li"), function(el, i){ if (i) el.style.display = 'none'; }); })();