   function exactPathVisibility (i) {
                if (document.getElementById("name-select_" + i).value === "exact-path") {
                    document.getElementById("exact-path-input-div_" + i).style.display = 'block';
                } else {
                    document.getElementById("exact-path-input-div_" + i).style.display = 'none';
                }
            }

            function insertNamesInSelectors () {
                var name_selectors = document.getElementsByClassName("name-select"