$(document).ready(function () {
	$("ul").each(function (){
		var ulEl = $(this);
		if (ulEl.children().size() == 0)
			ulEl.remove();
	});
})