removed DOM dependency by adding class names to elements, code optimized
added class names to ul and childCheckboxes