.val();
            let elem = $("#" + current);
            elem.addClass("active");
        }

        function refresh(routerIdNew, rpcTypeNew){
          let routerId = routerIdNew === undefined ? getRouterId() : routerIdNew;
          let rpcType = rpcTypeNew === undefined ? getRpcType() : rpcTypeNew;
	        let element = document.getElementById("routerId");
	        element.value = routerId;
	        element = document.getElementById("rpcType");
          element.value = rpcType;
          document.