anchor.diff:  								var personFullName = listItem.person.niceName;
   								var url = location.protocol + "//"
   										+ location.host + "/api/absences?year="
  -										+ selectedYearValue + "&month="
  -										+ selectedMonthValue + "&person="
  -										+ personId;
  +										+ encodeURIComponent(selectedYearValue) + "&month="
  +										+ encodeURIComponent(selectedMonthValue) + "&person="
  +										+ encodeURIComponent(personId);
   								var xhttp = new XMLHttpRequest();
   								xhttp.open("GET", url, false);
   								xhttp.setRequestHeader("Content-type",
  
positive.code: 		var selectedYear = document.getElementById('yearSelect');
  		var selectedMonth = document.getElementById('monthSelect');
  		var selectedDepartment = document.getElementById('departmentSelect');
  		selectedYear.addEventListener("change", function() {
  			selectedItemChange();
  		});
  
negative.code: 					&& selectedDepartmentValue != null) {
  				var url = location.protocol + "//" + location.host
  						+ "/api/vacationoverview?selectedYear="
  						+ encodeURIComponent(selectedYearValue) + "&selectedMonth="
  						+ encodeURIComponent(selectedMonthValue) + "&selectedDepartment="
  						+ encodeURIComponent(selectedDepartmentValue);
  
  				var xhttp = new XMLHttpRequest();
  				xhttp.open("GET", url, false);
  